Login
From:
Manage similar resources with for each | Terraform | HashiCorp Developer
(Uncensored)
subscribe
Manage similar resources with for each | Terraform | HashiCorp Developer
https://developer.hashicorp.com/terraform/tutorials/configuration-language/for-each
links
backlinks
Roast topics
Find topics
Find it!
Provision similar infrastructure components by iterating over a data structure with the for_each argument. Duplicate an entire VPC including a load balancer and multiple EC2 instances for each project defined in a map.