Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update postgresql_flexible_server.html.markdown (#24593)
* Update postgresql_flexible_server.html.markdown Using the example code from this document on terraform destroy operations the azurerm_subnet will have its DELETE request sent before the azurerm_private_dns_zone_virtual_network_link resource has completed its deletion. This results in the error "InUseSubnetCannotBeDeleted" and the azurerm_virtual_network with the azurerm_subnet not being deleted by the terraform destroy command. Adding the depends_on forces Terraform to wait until the azurerm_private_dns_zone_virtual_network_link is fully deleted before attempting to delete the azurerm_subnet resource allowing the destroy to complete without error. * Updated format for change using terraform fmt command --------- Co-authored-by: Joshua Donovan <Josh@alcanweb.com>
- Loading branch information