Skip to content

Instantly share code, notes, and snippets.

View fredbourni's full-sized avatar

Frédéric Bournival fredbourni

  • Montreal, Québec, Canada
View GitHub Profile
@fredbourni
fredbourni / ec2-list-instances-all-regions.py
Created May 12, 2017 21:43
AWS EC2 List All Resources for Pre-Defined Regions
import boto3
regions = frozenset([
'us-east-1',
'us-east-2',
'us-west-1',
'us-west-2',
'eu-central-1',
'eu-west-1',
'eu-west-2',