Blob Metadata Terraformlockid Was Empty
Error: Error acquiring the state lock: blob metadata terraformlockid was empty
The error is a specific failure that occurs when using the Azure Storage (azurerm) backend for Terraform state. It indicates that while your state file is currently locked by a "lease," the expected metadata containing the unique lock ID is missing or blank. Why This Error Happens blob metadata terraformlockid was empty
Replace placeholders with your actual resource names. Error: Error acquiring the state lock: blob metadata
The "Blob metadata TerraformLockID was empty" error occurs when Terraform is unable to detect the TerraformLockID in the blob metadata. This can happen due to several reasons, including: The "Blob metadata TerraformLockID was empty" error occurs
If an inspection of the blob metadata reveals that terraformlockid is empty (null or empty string), it signifies one of the following scenarios:
Only if you are no Terraform process is using the state and the above fix doesn’t work, you can force-unlock.