CLI Vault // Micro-dispatches.
Quick search articles, topics, and actions
Showing 1 snippet tagged #iac
When a teammate's CI dies mid-apply and the state lock outlives it.
# 1. Identify the lock ID from the error output
terraform plan -lock-timeout=5s
# 2. Inspect who holds it (S3 backend + DynamoDB)
aws dynamodb get-item --table-name terraform-locks --key '{"LockID":{"S":"my-org/prod/tfstate"}}'
…