From b7439b70cd77bdfb1880a525cbc679157cb0ed65 Mon Sep 17 00:00:00 2001 From: rachit-j Date: Sun, 29 Sep 2024 13:37:36 -0700 Subject: [PATCH] Added force delete option to menu --- main.sh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/main.sh b/main.sh index 09479a9..6dccc61 100755 --- a/main.sh +++ b/main.sh @@ -40,7 +40,8 @@ show_menu() { echo "6. Update Kasm" echo "7. Uninstall Kasm" echo "8. Uninstall Kasm and Delete the Instances" - echo "9. Exit" + echo "9. Force Delete Kasm (Delete Instances)" + echo "10. Exit" echo "" echo -n "Select: " } @@ -108,6 +109,10 @@ while true; do terraform destroy -auto-approve ;; 9) + echo "Force Delete Kasm" + terraform destroy -auto-approve + ;; + 10) echo "Exiting..." break ;;