Skip to content

Instantly share code, notes, and snippets.

@mwhooker
Created December 27, 2013 05:10
Show Gist options
  • Save mwhooker/8142805 to your computer and use it in GitHub Desktop.
Save mwhooker/8142805 to your computer and use it in GitHub Desktop.
#!/usr/bin/env python
import boto.ec2
import boto.cloudformation
from IPython import embed
import os
aws_region = os.environ.get("AWS_DEFAULT_REGION", 'us-west-1')
ec2 = boto.ec2.connect_to_region(aws_region)
cf = boto.cloudformation.connect_to_region(aws_region)
embed()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment