-
Notifications
You must be signed in to change notification settings - Fork 4.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to force-unlock state #640
Comments
Hey @CoRfr Thanks for opening this issue (apologies for the delayed response to this over the Christmas break) Since this issue is related to the Azure Backend / Terraform Core and not the AzureRM Provider - would you be able to re-open this issue on the Terraform Core Repository? Whilst I can do this for you - if you migrate this over you'll be subscribed to updates for the new issue which will indicate when this is resolved. Thanks! |
Hey @tombuildsstuff , I'm not sure how this would be part from the Core and not the AzureRM provider, as it seems to me that an operation (breakage of the lease) is not performed by the ARM provider when we do the --force-unlock. Thanks |
hey @CoRfr Sure - so the Azure Backend and the Azure Provider whilst accessing the same API and using the same SDK) are housed in different repositories, with the Azure Provider being in this repository and Azure Backend being housed within the Terraform (Core) repository. The Hope that helps :) Thanks! |
Thanks for the explanation @tombuildsstuff , I just opened hashicorp/terraform#17046 |
@CoRfr awesome, thanks. I've tagged the other issue appropriately and we'll take a look over there - in the interim I'm going to close this issue in favour of that one. Thanks! |
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. If you feel I made an error 🤖 🙉 , please reach out to my human friends 👉 [email protected]. Thanks! |
The error looks like that:
Terraform Version
0.11.1
Affected Resource(s)
Terraform State ?
Expected Behavior
terraform
should unlock the state, and it should be possible to runterraform apply
again after.Actual Behavior
terraform
raises an exception and the lock is still present.Steps to Reproduce
terraform apply
Ctrl+C
terraform apply
(prints an error with the unlock id)References
Looks like this user had the same issue: https://groups.google.com/forum/#!topic/terraform-tool/we21XjC58pI
The text was updated successfully, but these errors were encountered: