jmlp1 / JMA-AZURE

0 stars 0 forks source link

Error: Error releasing the state lock #5

Closed jmlp1 closed 1 month ago

jmlp1 commented 1 month ago

│ Error: Error releasing the state lock │ │ Error message: failed to retrieve lock info: blobs.Client#GetProperties: │ Failure responding to request: StatusCode=412 -- Original Error: │ autorest/azure: error response cannot be parsed: {"" '\x00' '\x00'} error: │ EOF │ │ Terraform acquires a lock when accessing your state to prevent others │ running Terraform to potentially modify the state at the same time. An │ error occurred while releasing this lock. This could mean that the lock │ did or did not release properly. If the lock didn't release properly, │ Terraform may not be able to run future commands since it'll appear as if │ the lock is held. │ │ In this scenario, please call the "force-unlock" command to unlock the │ state manually. This is a very dangerous operation since if it is done │ erroneously it could result in two people modifying state at the same time. │ Only call this command if you're certain that the unlock above failed and │ that no one else is holding a lock.

jmlp1 commented 1 month ago

Even being the owner of the subscription and the service principal account contributor access had to add this as administrator