You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The deployement template ONLY should be removed (deleted)
ACTUAL RESULTS
The whole resource_groupe was deleted
all resources are lost (Vms,AKS,storages .....)
if we go back to the git code :
result = self.rm_client.resource_groups.begin_delete(self.resource_group,name)
IT SHOULD BE:
result = self.rm_client.deployments.begin_delete(self.resource_group,name)
or
result = self.rm_client.deployments.delete(self.resource_group)
The text was updated successfully, but these errors were encountered:
SUMMARY
I am using the module azure_rm_deployment to create ARM deployments under resource group
If state=present, template will be created.
If state=present and deployment exists, it will be updated.
If state=absent, the resource group will be removed.
why ?! if the state is absent , only the deploymenet name specified should be deleted and not the whole resource groupe
ISSUE TYPE
COMPONENT NAME
azure_rm_deployment
ANSIBLE VERSION
COLLECTION VERSION
CONFIGURATION
OS / ENVIRONMENT
STEPS TO REPRODUCE
EXPECTED RESULTS
The deployement template ONLY should be removed (deleted)
ACTUAL RESULTS
The text was updated successfully, but these errors were encountered: