terraform/website/docs/configuration/functions/pow.html.md

354 B

layout page_title sidebar_current description
functions pow - Functions - Configuration Language docs-funcs-numeric-pow The pow function raises a number to a power.

pow Function

pow calculates an exponent, by raising its first argument to the power of the second argument.

Examples

> pow(3, 2)
9
> pow(4, 0)
1