Created
January 27, 2017 16:44
-
-
Save chapmanb/24fe9421b374e085e684bc4def077b70 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import boto | |
conn = boto.connect_vpc() | |
print "access_key", conn.aws_access_key_id | |
for vpc in conn.get_all_vpcs(filters={'tag:Name': 'bcbio'}): | |
print "vpc" | |
print vpc.id | |
print vpc.state | |
print vpc.region | |
print vpc.tags |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment