Deleting deployment in a resource group doesn't delete the resources in the deployment #797
Labels
ARM
question
The issue doesn't require a change to the product in order to be resolved. Most issues start as that
Service Attention
Workflow: This issue is responsible by Azure service team.
I opened this issue #585 regarding a while ago and we still feel strongly that resource_client.deployments.delete() should delete the resources under the deployment just as delete resource group does .
We have a case where we have a vnet that contains a load balancer with multiple gateways attached to it. The load balancer and the gateway need to be within one resource group. So we have a resource group that contain both load balancer deployment and multiple gateway deployments.
Now if the user want to delete one gateway only, we try to delete deployment logic entity rather than delete the whole resource group which will delete both load balancer and all gateway deployments. T hen we are facing the fact that the resources under deployment are not deleted. Do we need to delete those resources one by one throughout deployment? If we can create a deployment in one template, why can't we delete the deployment template resources at one time just like resource group? I thought the delete deployment should bring in that function.
Thanks.
Li
The text was updated successfully, but these errors were encountered: