Tags
#terraform
Inconsistent dependency lock file
Infrastructure as Code
Terraform "Inconsistent dependency lock file": what to run, and what to commit
Fix Terraform "Inconsistent dependency lock file": run init or init -upgrade, resolve version constraints and checksum errors across platforms, and lock it down in CI.
Beginner · 4 min read
Error: Error acquiring the state lock
Infrastructure as Code
Terraform "Error acquiring the state lock": who holds it, and when force-unlock is safe
Fix Terraform and OpenTofu "Error acquiring the state lock": read the lock info, wait or find the running job, and use force-unlock only on a stale lock.
Intermediate · 4 min read