🔥 3-day streak
HashiCorp Certified: Terraform Associate (004)18 / 150
Question 18 of 150
You are given a variable named subnet_names of type list(string) containing three unique subnet names. You want to create one aws_subnet resource per name using for_each so that resources are keyed by name rather than by numeric index. Which configuration correctly uses for_each with this list variable?
Reviewed for accuracy · Report an issueNext question