The OpenTofu LanguageBuilt-in FunctionssumOn this pagesum Function sum takes a list or set of numbers and returns the sum of those numbers. Examples Code Block> sum([10, 13, 6, 4.5])33.5