zkt26/sk1/remove-app.sh

10 lines
420 B
Bash

#!/usr/bin/env bash
# remove-app.sh — Delete all TaskFlow Azure resources
set -euo pipefail
RG="taskflow-rg"
echo "WARNING: This permanently deletes resource group '${RG}' and everything inside."
read -r -p "Type 'yes' to confirm: " CONFIRM
[[ "${CONFIRM}" != "yes" ]] && echo "Aborted." && exit 0
az group delete --name "${RG}" --yes --no-wait
echo "Deletion started. All TaskFlow Azure resources are being removed."