Skip to content

Instantly share code, notes, and snippets.

@ryan-blunden
Last active March 23, 2020 02:44
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 ryan-blunden/b997076a79463551cdde04f50c146887 to your computer and use it in GitHub Desktop.
Save ryan-blunden/b997076a79463551cdde04f50c146887 to your computer and use it in GitHub Desktop.
List AWS VPCs showing the VPC Id and Tags
alias aws-list-vpcs="aws ec2 describe-vpcs | jq '.Vpcs[] | {VpcId,Tags}'"
alias aws-list-key-pairs="aws ec2 describe-key-pairs | jq '.KeyPairs[].KeyName'"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment