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

Your team manages a production launch configuration whose attribute changes force Terraform to replace the resource. During recent applies, Terraform destroyed the old resource before creating the replacement, causing a brief service outage because a dependent autoscaling group had no valid launch configuration during the gap. Which lifecycle setting should you add to the resource block to eliminate this downtime?

Reviewed for accuracy · Report an issueNext question