Difference between revisions of "Terraform functions"
Jump to navigation
Jump to search
(35 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
https://www.terraform.io/docs/language/functions/index.html | https://www.terraform.io/docs/language/functions/index.html | ||
+ | |||
+ | Terraform predefined functions, Terraform do not support user defined functions. | ||
+ | |||
+ | * Numeric functions | ||
+ | |||
+ | * String 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 | ||
+ | * Filesystem functions | ||
+ | ** <code>[[Terraform functions: file|file]]</code> | ||
+ | * 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 9: | Line 35: | ||
* <code>[[tomap]]</code> | * <code>[[tomap]]</code> | ||
− | * <code>[[join]]</code> | + | * <code>[[Terraform functions: join|join]]</code> |
− | * <code>[[output]]</code> | + | * <code>[[Terraform: output|output]]</code> |
+ | * <code>[[Terraform: sum|sum]]</code> | ||
+ | * <code>[[Terraform functions: length|lenght]]</code> | ||
+ | * <code>[[chomp]]</code> | ||
+ | * <code>[[yamldecode]]</code> | ||
+ | |||
+ | * <code>[[jsonencode]]</code> | ||
+ | |||
+ | * <code>[[base64decode]]</code> | ||
+ | |||
+ | * <code>[[for_each]]</code> | ||
+ | |||
+ | == Related == | ||
+ | * [[Terraform meta argument: count]] | ||
+ | * [[Terraform meta argument: depends on]] | ||
+ | * [[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: