Difference between revisions of "Terraform index function"
Jump to navigation
Jump to search
Line 5: | Line 5: | ||
> index(["a", "b", "c"], "b") | > index(["a", "b", "c"], "b") | ||
1 | 1 | ||
− | |||
== See also == | == See also == |
Latest revision as of 21:26, 27 February 2022
https://www.terraform.io/language/functions/index_function
index(list, value)
> index(["a", "b", "c"], "b") 1
See also[edit]
Advertising: