Interview Prep/Terraform/Testing Upgrades and Large-Scale Operations

After a year of growth, the team has 60 stacks with inconsistent practices. How do you standardise without stopping delivery?

AdvancedScenarioTesting Upgrades and Large-Scale Operations
Answer

Situation read → Organic sprawl.

What I'd do →

  1. Inventory stacks: Terraform versions, provider versions, backend types, owners.
  2. Publish a baseline template repo (backend, pre-commit, CI, policy) and a migration guide.
  3. Migrate by risk and value: top 10 critical stacks first, with no-diff plans.
  4. Track compliance in a scorecard; make new stacks use the template by default.

Why → Incremental, measured migration beats a freeze; the template makes the right way the easy way.

Interview tip → Show a metric, such as the percentage of stacks on the baseline.

All Terraform questions Roadmap: Terraform in production

More on Testing Upgrades and Large-Scale Operations