How did you review and approve Terraform changes?
BeginnerBehavioralInfrastructure as Code & Terraform state
Answer
Good answer looks like → "Every PR ran fmt -check, validate, tflint, Checkov, and plan, with the plan summary posted as a PR comment. Reviewers looked closely at any destroy or replace. Production applies required approval from a CODEOWNER on the infra team."
Follow-ups to expect → What if the plan at review time differs from apply time? How do you catch a replace hiding in a big plan?
Red flags → Approving infrastructure PRs without reading the plan.
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