-
Notifications
You must be signed in to change notification settings - Fork 143
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
Terraform destroy fails on firewall delete "Error: deleting Azure Firewall Firewall" #609
Comments
The firewall is now able to be destroyed successfully. |
This error has returned. |
Should we change the cleanup to delete the resource groups and subscription-level diagnostic settings? |
Oops, I misunderstand! You bring up a good point. What are we testing by running |
I will convert this to a backlog item that will implement resource group deletes. |
Created #640 to replace this bug. |
Description
Running
terraform destroy
inAzureCloud
from our pipeline agent fails with a 415"The content media type '<null>' is not supported. Only 'application/json' is supported"
:Steps to Reproduce
Steps to reproduce the behavior:
Expected behavior
The firewall is successfully deleted and the pipeline finishes the
terraform destroy
task.Actual behavior
The firewall is not deleted, it and its parent resource group must be manually deleted, and the pipeline fails.
Additional context
The
azurerm
team also encounters this error: hashicorp/terraform-provider-azurerm#14907 (review)For academic purposes, it reads like this is the method bubbling up the error: https://github.com/hashicorp/terraform-provider-azurerm/blob/67e95001cc7ed859f2bd589c426f4e5bc056d237/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2021-05-01/network/azurefirewalls.go#L145-L149
Operating System: ubuntu
Terraform Version: 1.13 and azurerm 2.90.0
Cloud (public, Azure Government, etc.): AzureCloud
The text was updated successfully, but these errors were encountered: