Skip to content

Instantly share code, notes, and snippets.

@n0ts
Created December 6, 2016 06:18
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 n0ts/f29417d521533bfb9448d2b8cf76f3de to your computer and use it in GitHub Desktop.
Save n0ts/f29417d521533bfb9448d2b8cf76f3de to your computer and use it in GitHub Desktop.
Get AWS EC2 ID longer for all region
for r in $(aws --region us-east-1 ec2 describe-regions | jq -r ".Regions[] | .RegionName"); do aws --region $r ec2 describe-id-format; done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment