Closed radui1398 closed 2 years ago
hi @radui1398
Thanks for opening this issue.
Taking a look through here this appears to be an issue with the Terraform Configuration being used which can be solved by using a depends_on
to explicitly define the dependencies, which'll enforce the ordering both when provisioning and tearing these resources down - which can be used in alongside interpolation (which creates an implied resource ordering).
Since this'll be fixed by updating the Terraform Configuration being used here, I'm going to close this issue for the moment as this forum is intended to be used for feature enhancements and bugs in the Azure Provider - however should you have further questions about the Terraform Configuration I'd direct you towards one of the Community Resources where someone should be able to assist further.
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 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.
Is there an existing issue for this?
Community Note
Terraform Version
1.1.7
AzureRM Provider Version
2.99.0
Affected Resource(s)/Data Source(s)
azurerm_api_management_named_value, azurerm_api_management_backend
Terraform Configuration Files
Debug Output/Panic Output
Expected Behaviour
The delete order should be:
Actual Behaviour
The actual delete order probably is:
Steps to Reproduce
Only a terraform apply is enough to retrieve the error.
Important Factoids
Running in Europe West
References
No response