Interview practice question
An apply was interrupted mid-way
Cloud & DevOps · Terraform and IaC · Experienced
A pipeline running terraform apply was killed mid-run, leaving the state locked and some resources half-created. How do you recover?
What a strong answer covers
Your AI report card counts how many of these ideas you cover.
- Confirm no process running; force-unlock.
- Check state vs reality (plan).
- Orphaned resources may exist outside state: import or delete.
- Re-run apply.
- Set proper pipeline timeouts.
Practise this topic
Start without signing up. Sign in free to get an AI report card on your answer.