I have created Azure infrastructure using an ARM template for a resource group with the Azure CLI command:
az deployment group create --resource-group demo --template-file main.json --parameters parameters.json --name serviceName
I tried deleting this deployment, as I would with terraform destroy
, using the az deployment group delete --name serviceName
and az deployment sub delete --name serviceName
commands. However, it does nothing and returns no errors. When I check, the resources are still there. Does anyone have an idea of what might be wrong?
I need to delete the resource using similar command as terraform destroy