This file contains hidden or 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
#!/bin/bash | |
# Check if AWS_ACCOUNT_ID is provided as first argument | |
if [ -z "$1" ]; then | |
read -p "Please enter AWS Account ID: " AWS_ACCOUNT_ID | |
if [ -z "$AWS_ACCOUNT_ID" ]; then | |
echo "Error: AWS Account ID is required." | |
exit 1 | |
fi | |
else |