Terraform CLI
Terraform could not acquire the state lock
Terraform could not continue because the backend reported that the state was already locked or could not be locked safely for a write operation.
Terraform CLI
Terraform could not continue because the backend reported that the state was already locked or could not be locked safely for a write operation.
Observed message
Error acquiring the state lock.
Why it happens
How to fix it
Official reference
Terraform: State LockingRelated errors
Explore more