-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Enhance main.sh to check existing AWS resources before creation
- Added checks for existing SSH key on AWS and create if not present - Implemented verification for Security Group existence and creation if missing - Included logic to verify EC2 instance existence and state - Create and run instance if it does not exist - Log state if the instance is running - Start the instance if it is stopped
- Loading branch information
1 parent
fdf58db
commit 7b31854
Showing
1 changed file
with
65 additions
and
42 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters