[hot] - Blob Metadata Terraformlockid Was Empty
az storage blob metadata show \ --account-name <storage-account-name> \ --container-name <container-name> \ --name <path-to-tfstate> Then force-unlock:
This error is alarming at first, but it’s usually safe to fix by simply removing the empty metadata. Once cleared, Terraform will resume normal locking behavior. blob metadata terraformlockid was empty
First, find the current (empty) lock ID. The error message may show it, or you can inspect metadata via Azure CLI: The error message may show it, or you
If problems persist, check for network policies blocking blob metadata access or consider migrating to a new state file via terraform state push (advanced). The error message may show it
terraform plan Terraform should now successfully acquire a fresh lock (you’ll see a new valid terraformlockid with a UUID value). Only if you are absolutely sure no Terraform process is using the state and the above fix doesn’t work, you can force-unlock.
