🔥 3-day streak
HashiCorp Certified: Terraform Associate (004)19 / 150
Question 19 of 150

You are creating multiple S3 buckets from a map variable that pairs a logical name with an environment tag. Inside a resource block using for_each over this map, you need to set the bucket name from the map key and apply the environment as a tag from the map value. Which pair of references correctly retrieves the key and value for each iteration?

Reviewed for accuracy · Report an issueNext question