Azure / deployment-environments

Sample infrastructure-as-code templates to get started with Azure Deployment Environments service.
MIT License
68 stars 218 forks source link

cannot delete Environment when deployed using Terraform #32

Closed doruit closed 10 months ago

doruit commented 11 months ago

Deployment environments that i have deployed using Terraform runner cannot be deleted:

Deleting this environment failed. Please try again.

When i click See details i get:

Error details: NotFound

doruit commented 11 months ago

There is a workaround. Just sync the catalog with a simple TF script to replace the failing one so it will deploy successfully, then you can delete it

j-rewerts commented 10 months ago

Apologies, we had a bug where environment deployments assumed that a state file would exist. This has been fixed and is rolling out right now. I'll close this once it finishes rolling everywhere. It should be resolved in a few hours.