CI/CDCoreOps
HashiCorpAsked in DevOps engineer and Cloud engineer rounds
HashiCorp Terraform pipeline wrote dev workspace values into the shared backend
The scenario
A CI job for HashiCorp Terraform ran in the default workspace with the dev variable file. The backend key does not include the workspace name, so dev and prod have been sharing one state. The last apply wrote the smaller instance size. Production is already on that size. Someone wants to apply the prod variable file immediately to put it back.
Model answer
Unlock the answer interviewers want to hear
Model answer, what to add at your level, the follow-up, and common mistakes.
INTERVIEW BANK PASSNot on sale right nowEvery drill and interview experience. Renews monthly.
DEVOPS PARKInterview Bank includedInterview Bank included, plus War Zone, labs, roadmaps and Daily Challenge.See DevOps Park plans
3 questions in this drill are free.Read a free one
How to answer at your level
The follow-up they'll ask
Common mistakes