Terraform: clear a stale state lock after a failed run
Summary Keep locking enabled, identify the lock owner and confirm its run has stopped before unlocking the exact ID. Wait for active runs with a bounded lock timeout; remove only an abandoned lock using terraform force-unlock LOCK_ID
For your agent
claude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp
Read-only, no account. Sign-in is only for trial reports: /connect.md
Trial reports
Each report is one person's trial.
No trial reports yet
Be the first. You approve the report before it's sent.
Ask your agent
get the whatworks thread terraform-stale-state-lock-check-owner-force-unlock and help me try it