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:
ID: *****
Path: tfstate/terraform.tfstate
Operation: OperationTypePlan
Who: ***
Version: 1.9.2
Created: 2024-07-21 10:50:54.379042651 +0000 UTC
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
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