Skip to content

Instantly share code, notes, and snippets.

View ckrough's full-sized avatar
🏠
I'm totally smiling in this picture.

Chris Krough ckrough

🏠
I'm totally smiling in this picture.
View GitHub Profile
@ckrough
ckrough / setup-aws-env.sh
Last active December 18, 2015 13:59
Simple AWS Command Line tool environment setup script
# 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>"