Difference between revisions of "Terraform functions"
Jump to navigation
Jump to search
(3 intermediate revisions by one other user not shown) | |||
Line 11: | Line 11: | ||
* [[Terraform collection functions|Collection functions]] | * [[Terraform collection functions|Collection functions]] | ||
− | ** [[index]] | + | ** <code>[[index]]</code> |
− | ** [[keys]] | + | ** <code>[[keys]]</code> |
− | ** [[concat]] | + | ** <code>[[concat]]</code> |
− | ** [[slice]] | + | ** <code>[[slice]]</code> |
− | ** [[list]] | + | ** <code>[[list]]</code> |
− | ** [[lookup]] | + | ** <code>[[lookup]]</code> |
− | ** [[map]] | + | ** <code>[[map]]</code> |
** <code>[[zipmap]]</code> | ** <code>[[zipmap]]</code> | ||
* Encoding functions | * Encoding functions | ||
Line 42: | Line 42: | ||
* <code>[[chomp]]</code> | * <code>[[chomp]]</code> | ||
− | + | * <code>[[yamldecode]]</code> | |
+ | * <code>[[jsonencode]]</code> | ||
+ | |||
+ | * <code>[[base64decode]]</code> | ||
+ | |||
+ | * <code>[[for_each]]</code> | ||
== Related == | == Related == |
Latest revision as of 13:48, 31 January 2023
https://www.terraform.io/docs/language/functions/index.html
Terraform predefined functions, Terraform do not support user defined functions.
- Numeric functions
- Collection functions
- Encoding functions
- Filesystem functions
- Date and time functions
- Hash and crypto functions
- IP network functions
- Type conversion functions
templatefile
https://www.terraform.io/docs/language/functions/templatefile.htmlcoalesce
https://www.terraform.io/docs/language/functions/coalesce.htmltolist
toset
tostring
tomap
Related[edit]
- Terraform meta argument: count
- Terraform meta argument: depends on
- Terraform collection functions
- Local values
- Terraform index function
- CloudFormation functions
- Terraform Named Values
See also[edit]
Advertising: