Open nad-au opened 1 year ago
Odd that it's nearly a year to the day, but I'm now in the exact same boat. Created via azurerm_static_site
, attempted to recreate using azurerm_static_web_app
, and that operation failed due to the name still being in use. The deleted site still appears in Azure, but can't be deleted via the portal or CLI. az staticwebapp list
returns an empty array, and the delete attempt returns Operation returned an invalid status 'Not Found'
.
Any ideas welcome!
Interesting, it appears it finally deleted, and subsequent runs were able to recreate the static web app. This may be an Azure problem, not a Terraform problem.
any updates? we are getting this problem as well.
running as docker from: hashicorp/terraform:1.7.5
added azure cli version: 2.58.0
and we cannot destroy static web apps
Describe the bug
It's impossible to delete static web apps
To Reproduce Steps to reproduce the behavior:
azurerm_static_site
az staticwebapp delete
Expected behavior Resources should be deleted by known methods
Additional context One of the web apps had a custom domain, two others do not. Attempting to delete custom domain also fails. Fails as in indefinitely stuck in deleting state.
Tried deleting deployments as suggested inhttps://github.com/Azure/static-web-apps/issues/915