Difference between revisions of "Terraform function: element"
Jump to navigation
Jump to search
(3 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
* https://developer.hashicorp.com/terraform/language/functions/element | * https://developer.hashicorp.com/terraform/language/functions/element | ||
− | * [[list]] | + | |
+ | [[subnet_id]] = element([[data.aws_subnets]].all_private.ids, 0) | ||
+ | |||
+ | == Related == | ||
+ | * [[Terraform: list type]] | ||
== See also == | == See also == | ||
− | {{tf functions}} | + | * {{tf functions}} |
+ | |||
+ | [[Category:TF]] |
Latest revision as of 17:21, 6 April 2023
Advertising: