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
#!/bin/bash | |
# Default values | |
profile="default" | |
region="us-east-1" | |
# Parse command line options | |
while getopts ":p:r:" opt; do | |
case $opt in | |
p) |
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
#!/bin/bash | |
# Default values | |
profile="default" | |
region="us-east-1" # Replace with your default region | |
# Function to display script usage | |
usage() { | |
echo "Usage: $0 -p <profile> -r <region>" | |
echo "Options:" |