🔥 3-day streak
HashiCorp Certified: Terraform Associate (004)17 / 150
Question 17 of 150
A team manages several S3 buckets using a single resource block. They currently use `count` with a list of bucket names in a variable. When they remove a name from the middle of the list and run `terraform plan`, Terraform proposes destroying and recreating multiple buckets that were not intended to change. Which change to the configuration best prevents this behavior while still iterating over the collection?
Reviewed for accuracy · Report an issueNext question