-
Notifications
You must be signed in to change notification settings - Fork 9.6k
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
Azure provider unable to delete multiple resources #2416
Comments
+1 I wonder if the issue might also be that the delete operations are executed asynchronously, so it did not really delete the VM and its disks before trying to delete the storage and network. |
@keymon @AndreySabitov: thanks a bunch for the report! @keymon: you are indeed correct; Terraform keeps an internal record of all resources and the dependency relationships between them and operates on the resources as concurrently as possible. @AndreySabitov: the most straightforward approach here would be to set |
Looks like not really a bug, but the intended feature, suggest close the issue. |
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 have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further. |
I successfully create Azure virtual machine using such configuration file:
When I'm trying to delete those resources with
terraform destroy
I get:It seems that terraform is trying to destroy storage and virtual network resources before virtual machines which use them.
The text was updated successfully, but these errors were encountered: