Difference between revisions of "Terraform functions"
Jump to navigation
Jump to search
(9 intermediate revisions by 2 users not shown) | |||
Line 8: | Line 8: | ||
** <code>[[chomp]]</code> | ** <code>[[chomp]]</code> | ||
** <code>[[format]]</code> | ** <code>[[format]]</code> | ||
− | ** <code>[[replace]]</code> | + | ** <code>[[Terraform replace function|replace]]</code> |
* [[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 == | ||
Line 50: | Line 56: | ||
* [[Local values]] | * [[Local values]] | ||
* [[Terraform index function]] | * [[Terraform index function]] | ||
+ | * [[CloudFormation functions]] | ||
+ | * [[Terraform Named Values]] | ||
== See also == | == See also == | ||
* {{Terraform functions}} | * {{Terraform functions}} | ||
− | |||
[[Category:Terraform]] | [[Category:Terraform]] |
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: