-
Notifications
You must be signed in to change notification settings - Fork 268
Description
Output from azd version
Run azd version and copy and paste the output here: azd version 1.22.5 (commit f1850eb)
Describe the bug
I used layer provisioning to set up VNET and a simple ACA app (sample: https://github.com/[puicchan/cat-aca-vnet.) All networking resources are created in a separate resource group '${abbrs.resourcesResourceGroups}${environmentName}-network' (https://github.com/puicchan/cat-aca-vnet/blob/main/infra/network/main.bicep#L21)
I ran azd down and hit an error in Layer: network.
PS D:\Code\cat-aca-vnet> azd down
Deleting all resources and deployed code on Azure (azd down)
Local application code is not deleted when running 'azd down'.
Layer: main
• Container Registry: cr4chmm45qi5qp4
• Log Analytics workspace: log-4chmm45qi5qp4
• Application Insights: appi-4chmm45qi5qp4
• Portal dashboard: appid-4chmm45qi5qp4
• Container Apps Environment: cae-4chmm45qi5qp4
• Container App: ca-web-4chmm45qi5qp4
? Total resources to delete: 8, are you sure you want to continue? Yes
Deleting your resources can take some time.e you want to continue? (y/N) y
(✓) Done: Deleted resource group rg-cat15
Layer: network
ERROR: deleting infrastructure: error deleting Azure resources: deployment not found
To Reproduce
- `azd init -t puicchan/cat-aca-vnet
- azd up
- azd down
Expected behavior
I should at least be prompted if I want to delete rg-xxx-network.