TerraformCoreOps
HashiCorpAsked in DevOps engineer and Platform engineer rounds
HashiCorp Terraform state lock is stuck after the apply runner died
The scenario
A HashiCorp Terraform apply on the network workspace was killed when the runner pod was evicted. The next run stops at once and says the state is locked. The lock id is in the error. Nobody has checked whether the first apply is still writing to AWS.
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