Interview Prep/Terraform/Pipelines Terraform Cloud and OpenTofu

An emergency requires a manual apply to prod outside the pipeline. How do you handle it?

AdvancedScenarioPipelines Terraform Cloud and OpenTofu
Answer

Situation read → Pipeline is down or too slow for an incident.

What I'd do →

  1. Use a break-glass role that requires approval, MFA and is alerted on assumption.
  2. Apply the smallest possible change, with a saved plan reviewed by a second person.
  3. Immediately commit the same change to Git so code and state agree.
  4. Post-incident, review whether the pipeline path could have been used.

Why → Emergencies happen, but they must be audited and reconciled to avoid drift.

Interview tip → "Break-glass is allowed, silent break-glass isn't."

All Terraform questions Roadmap: Terraform in production

More on Pipelines Terraform Cloud and OpenTofu