Skip to content

Instantly share code, notes, and snippets.

@rafaelnize
Created June 27, 2016 13:17
Show Gist options
  • Save rafaelnize/8db4c529a97b86547f6d5ee2d45bea1c to your computer and use it in GitHub Desktop.
Save rafaelnize/8db4c529a97b86547f6d5ee2d45bea1c to your computer and use it in GitHub Desktop.
Test boto profile
import boto.ec2
conn = boto.ec2.EC2Connection(profile_name='test')
print conn
print conn.get_all_instances()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment