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.
More on Infrastructure as Code & Terraform state
What did your Terraform state setup look like?IntermediateHow did you structure your Terraform code?BeginnerWhy did you use folders per environment rather than Terraform workspaces (or vice versa)?IntermediateHow did different Terraform stacks share information?IntermediateDid you ever have a state lock or corrupted state? What did you do?AdvancedHow did you handle Terraform drift?Intermediate