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
# AWS environments root | |
AWS_ENV_ROOT="${HOME}/.aws" | |
# Make sure we got a valid environment variable | |
# | |
if [[ -z "${1}" ]] || [[ ! -d "${AWS_ENV_ROOT}/${1}/" ]]; then | |
echo "No environment name specified or the environment directory is missing." | |
echo | |
echo "Usage:" | |
echo "setup-aws-env.sh <environment>" |