From d345e2dd1a0d50a83bf1154133626ab2e34e4727 Mon Sep 17 00:00:00 2001 From: Jean-Francois Chevrette Date: Thu, 19 Dec 2024 17:15:11 -0500 Subject: [PATCH] tell the user what is going to happen (#1013) --- dev-infrastructure/Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/dev-infrastructure/Makefile b/dev-infrastructure/Makefile index 82bb47856..2c6511156 100644 --- a/dev-infrastructure/Makefile +++ b/dev-infrastructure/Makefile @@ -164,6 +164,7 @@ region: region.wait regional.rg region.clean: @if [ "$$(az group exists --name $(REGIONAL_RESOURCEGROUP))" = "true" ]; then \ + echo "Will delete Azure resource group $(REGIONAL_RESOURCEGROUP)"; \ az group delete -g $(REGIONAL_RESOURCEGROUP); \ fi .PHONY: region.clean @@ -291,6 +292,7 @@ svc.dev-role-assignments: svc.clean: @if [ "$$(az group exists --name $(SVC_RESOURCEGROUP))" = "true" ]; then \ + echo "Will delete Azure resource group $(SVC_RESOURCEGROUP)"; \ az group delete -g $(SVC_RESOURCEGROUP); \ fi .PHONY: svc.clean @@ -378,6 +380,7 @@ mgmt.what-if: mgmt.rg mgmt.clean: @if [ "$$(az group exists --name $(MGMT_RESOURCEGROUP))" = "true" ]; then \ + echo "Will delete Azure resource group $(MGMT_RESOURCEGROUP)"; \ az group delete -g $(MGMT_RESOURCEGROUP); \ fi .PHONY: mgmt.clean