Skip to content

Commit

Permalink
Added force delete option to menu
Browse files Browse the repository at this point in the history
  • Loading branch information
rachit-j committed Sep 29, 2024
1 parent a57fc79 commit b7439b7
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion main.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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: "
}
Expand Down Expand Up @@ -108,6 +109,10 @@ while true; do
terraform destroy -auto-approve
;;
9)
echo "Force Delete Kasm"
terraform destroy -auto-approve
;;
10)
echo "Exiting..."
break
;;
Expand Down

0 comments on commit b7439b7

Please sign in to comment.