- Inspect
- Diagnose
- Apply fix
- Verify
Your mission
The production network pipeline cannot plan because the remote state is locked by a CI job that no longer exists.
- workload
- terraform/network-prod
- status
- changes blocked
- symptom
- remote state lock remains after a cancelled CI job
Current objective
Capture the lock identity. Do not force-unlock until you prove that its owner is gone.
Show a hint
Try: terraform plan Safe lock recovery
1. Record the lock ID and owner 2. Prove the owner is no longer running 3. Force-unlock that exact ID 4. Run plan; do not apply blindly
Restart clears this attempt. Completed labs are remembered in this browser.
Incident review
The state is available without concurrent writers.
The orphaned lock was removed only after its owner was disproved, and a clean plan acquired and released a new lock.
Lesson
Never treat force-unlock as the first response. Identify the owner, verify the operation is truly dead, unlock the exact ID, and use plan—not apply—as the first recovery check.
Choose another scenarioCommand transcript
Your commands and their output will appear here.