github.com/hugorut/terraform@v1.1.3/website/docs/language/functions/sum.mdx (about)

     1  ---
     2  page_title: sum - Functions - Configuration Language
     3  description: |-
     4    The sum function takes a list or set of numbers and returns the sum of those
     5    numbers.
     6  ---
     7  
     8  # `sum` Function
     9  
    10  `sum` takes a list or set of numbers and returns the sum of those numbers.
    11  
    12  ## Examples
    13  
    14  ```
    15  > sum([10, 13, 6, 4.5])
    16  33.5
    17  ```