Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Solved Issue 62: Unable to delete APIM when destroying infrastructure…
… with Terraform. (#63) * Update APIM type to use api version `2023-03-01-preview` which does not have the issue when deleting the APIM. * Added dependency (`depends_on`) with for `azurerm_api_management_named_value.tenant_id` for the `azurerm_api_management_api_policy.policy` which is required when deleting the APIM due to an indirect dependency with the Tenant ID value. * Add `prevent_deletion_if_contains_resources` flag as `false` to mitigate an open bug in Terraform. or instance, the Resource Group is not deleted when a `Failure Anomalies` resource is present. Reference: hashicorp/terraform-provider-azurerm#18026
- Loading branch information