Skip to content
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

azd deployment issues #37

Closed
joergjo opened this issue Dec 13, 2024 · 1 comment
Closed

azd deployment issues #37

joergjo opened this issue Dec 13, 2024 · 1 comment
Labels
bug Something isn't working net8 .NET 8 net9 .NET 9

Comments

@joergjo
Copy link
Owner

joergjo commented Dec 13, 2024

azd seems to track the Container Apps Environment's infrastructure resource group like a normal resource group and tries to delete it on azd down, but this resource group is implicitly deleted with the Container Apps Environment. This prolongs the execution of azd down due to failing retries and leads to more inconsistent behavior since an and up after an and down simply doesn't do anything and claims the resources still exist. The only way to recover from this broken state is deleting the state in .azure.

After checking other templates like https://github.com/Azure-Samples/azure-django-postgres-flexible-aca/tree/main, it seems this is being caused by tagging the Container Apps Environment.

@joergjo
Copy link
Owner Author

joergjo commented Dec 13, 2024

Removing the service tag from the environment does fix the deployment experience.

@joergjo joergjo added bug Something isn't working net8 .NET 8 net9 .NET 9 labels Dec 13, 2024
joergjo added a commit that referenced this issue Dec 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working net8 .NET 8 net9 .NET 9
Projects
None yet
Development

No branches or pull requests

1 participant