Interview Prep/Real-World Interview/Infrastructure as Code & Terraform state

Tell me about a Terraform change that went wrong.

IntermediateBehavioralInfrastructure as Code & Terraform state
Answer

Good answer looks like → "Changing name on a launch template forced replacement of the EKS node group, and because create_before_destroy wasn't set, the old group drained before the new one was ready. Pods went pending for 6 minutes. I added create_before_destroy and a CI check that highlights replacements of node groups."

Follow-ups to expect → Why didn't the reviewer catch it? How do you know which attributes force replacement?

Red flags → No Terraform mistakes in years of use.

All Real-World Interview questions Roadmap: Interview readiness

More on Infrastructure as Code & Terraform state