エラーメッセージ
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
Failed to save state: blobs.Client#PutBlockBlob: Failure responding to request: StatusCode=412 -- Original Error: autorest/azure: Service returned an error. Status=412 Code="LeaseIdMissing" Message="There is currently a lease on the blob and no lease ID was specified in the request.\nRequestId:8d4cbdcc-901e-000a-06c1-734cc3000000\nTime:2021-07-08T06:18:57.3417182Z" Error: Failed to persist state to backend. The error shown above has prevented Terraform from writing the updated state to the configured backend. To allow for recovery, the state has been written to the file "errored.tfstate" in the current working directory. Running "terraform apply" again at this point will create a forked state, making it harder to recover. To retry writing this state, use the following command: terraform state push errored.tfstate |
BLOBストレージ上にtfstateファイルを配置している。
「リースの解約」を押すとたぶん直る