Difference between revisions of "Terraform functions"
Jump to navigation
Jump to search
(21 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> | ||
* Encoding functions | * Encoding functions | ||
* Filesystem functions | * Filesystem functions | ||
+ | ** <code>[[Terraform functions: file|file]]</code> | ||
* Date and time functions | * Date and time functions | ||
+ | * Hash and crypto functions | ||
+ | * IP network functions | ||
+ | * [[Type]] conversion functions | ||
* <code>[[templatefile]]</code> https://www.terraform.io/docs/language/functions/templatefile.html | * <code>[[templatefile]]</code> https://www.terraform.io/docs/language/functions/templatefile.html | ||
− | |||
− | |||
* <code>[[coalesce]]</code >https://www.terraform.io/docs/language/functions/coalesce.html | * <code>[[coalesce]]</code >https://www.terraform.io/docs/language/functions/coalesce.html | ||
− | |||
* <code>[[tolist]]</code> | * <code>[[tolist]]</code> | ||
* <code>[[toset]]</code> | * <code>[[toset]]</code> | ||
Line 28: | Line 42: | ||
* <code>[[chomp]]</code> | * <code>[[chomp]]</code> | ||
− | * <code>[[ | + | * <code>[[yamldecode]]</code> |
+ | |||
+ | * <code>[[jsonencode]]</code> | ||
+ | |||
+ | * <code>[[base64decode]]</code> | ||
+ | |||
+ | * <code>[[for_each]]</code> | ||
== Related == | == Related == | ||
Line 34: | Line 54: | ||
* [[Terraform meta argument: depends on]] | * [[Terraform meta argument: depends on]] | ||
* [[Terraform collection functions]] | * [[Terraform collection functions]] | ||
+ | * [[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: