Skip to content

Instantly share code, notes, and snippets.

@jonathanhle
Created March 8, 2016 18:54
Show Gist options
  • Save jonathanhle/379c8e183f9f2ef71e4a to your computer and use it in GitHub Desktop.
Save jonathanhle/379c8e183f9f2ef71e4a to your computer and use it in GitHub Desktop.
AWS CLI Get SG Names in a List
aws ec2 describe-security-groups --query 'SecurityGroups[*].{Name:GroupName}' --output text
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment