Built-in Function
PreviousBuilt-in Functions and Dynamic BlocksNextTerraform Type Constraints (Collection & Structural)
Last updated
Last updated
Terraform comes pre-packed with functions to help you transform and combine values
User-defined functions are not allowed - only built-in one.
General function: function_name( arg1, arg2,...)
Built-in functions are extremely useful in making terraform code dynamic and flexible
A huge array of useful functions can be found here: https://www.terraform.io/language/function