-
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
cannot destroy azurerm_network_interface_backend_address_pool_association when the network interface was manually deleted #2491
Comments
Additional information for this since we have experience this issue as well. Correction, this correctly worked with removed associations but fails when the nic has been deleted. |
How did you recover from this state? |
Having the same issue. Don't know if it would have worked if that had been the first thing I deleted or it was cumulative. |
This issue is a subset of issue #4330 |
This is still an unsolved problem. |
This has been released in version 2.26.0 of the provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading. As an example: provider "azurerm" {
version = "~> 2.26.0"
}
# ... other configuration ... |
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! |
I was trying to launch two virtual machines behind a load balancer. But after 45 minutes, azure failed to create one of the machines, to try to recover the situation, I've manually deleted the virtual machine and tried to run terraform apply again, but it kept on failing due to missing resources, until I've end-up with:
Which I could not recover from. This made me think that terraform should not refuse to run when a resource was manually delete from azure portal. It should ignore that fact and assume the resource was MIA and re-create it again.
Terraform (and AzureRM Provider) Version
Terraform v0.11.9
Affected Resource(s)
Configuration
Expected Behavior
It should ignore manually deleted / non-long existing resources.
Actual Behavior
It refuses to do anything.
Steps to Reproduce
terraform apply
The text was updated successfully, but these errors were encountered: