jmlp1 / JMA-AZURE

0 stars 0 forks source link

Error: Error acquiring the state lock Error message: state blob is already locked #9

Open jmlp1 opened 1 month ago

jmlp1 commented 1 month ago

At the moment stuck with this, the pipeline runs, the init and plan stages create the tfstate/terraform.tfstate file in azure storage blob, then Apply fails because the file is leased

Public Repo

Lock Info:

Info:
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.

[error]Error: The process '/usr/local/bin/terraform' failed with exit code 1 Finishing: Apply Terraform Plan

image