Hello! I am attempting to move up to TF v0.13.0-rc1
and am running into some issues with acquiring the lock.
terraform plan -var-file=staging/variables.tfvars
Acquiring state lock. This may take a few moments...
Error: Error locking state: Error acquiring the state lock: 2 errors occurred:
* state blob is already locked
* blob metadata "terraformlockid" was empty
Terraform acquires a state lock to protect the state from being written
by multiple users at the same time. Please resolve the issue above and try
again. For most commands, you can disable locking with the "-lock=false"
flag, but this is not recommended.
This was not an issue on TF v0.12.28
. There are no actively running jobs that would legitimately have this lock.
When looking at our Azure tfstorage container, I can see LEASE STATUS: Locked
, but LEASE STATE: AVAILABLE
Has anyone encountered similar issues or have advice for this? Thanks in advance.