Difference between revisions of "Terraform functions"
Jump to navigation
Jump to search
(15 intermediate revisions by 3 users not shown) | |||
Line 4: | Line 4: | ||
* Numeric functions | * Numeric functions | ||
+ | |||
* String functions | * String functions | ||
− | * Collection functions | + | ** <code>[[chomp]]</code> |
+ | ** <code>[[format]]</code> | ||
+ | ** <code>[[Terraform replace function|replace]]</code> | ||
+ | |||
+ | * [[Terraform collection functions|Collection functions]] | ||
+ | ** <code>[[index]]</code> | ||
+ | ** <code>[[keys]]</code> | ||
+ | ** <code>[[concat]]</code> | ||
+ | ** <code>[[slice]]</code> | ||
+ | ** <code>[[list]]</code> | ||
+ | ** <code>[[lookup]]</code> | ||
+ | ** <code>[[map]]</code> | ||
** <code>[[zipmap]]</code> | ** <code>[[zipmap]]</code> | ||
* Encoding functions | * Encoding functions | ||
Line 30: | Line 42: | ||
* <code>[[chomp]]</code> | * <code>[[chomp]]</code> | ||
+ | * <code>[[yamldecode]]</code> | ||
+ | |||
+ | * <code>[[jsonencode]]</code> | ||
+ | |||
+ | * <code>[[base64decode]]</code> | ||
+ | * <code>[[for_each]]</code> | ||
== Related == | == Related == | ||
Line 37: | Line 55: | ||
* [[Terraform collection functions]] | * [[Terraform collection functions]] | ||
* [[Local values]] | * [[Local values]] | ||
+ | * [[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: