Skip to content

Instantly share code, notes, and snippets.

@jennifersmith
Last active August 29, 2015 14:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jennifersmith/784dc0d8898f7b85d33c to your computer and use it in GitHub Desktop.
Save jennifersmith/784dc0d8898f7b85d33c to your computer and use it in GitHub Desktop.
Too much aws and JSON make jen go something something http://bit.ly/1m8OONb
function which-aws {
echo "You are on an AWS account with alias(es)" `aws iam list-account-aliases | jq '.AccountAliases | join(",")' -r` | cowsay
}
function cfn-describe {
aws cloudformation describe-stacks --stack-name "$1"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment