cloudify-cosmo/cloudify-aws-plugin — pull request #2 by EarthmanT (2014-12-31 15:56:43+00:00)
Title: Cfy 1891

Created an EC2Client class in EC2/connection.py.
Usage:
>>> import connection
>>> a = connection.EC2Client().connect()

You can then run ec2 functions from a:

>>> a.run_instances()
Traceback (most recent call last):
File "", line 1, in
TypeError: run_instances() takes at least 2 arguments (1 given)

>>> a.get_all_addresses()
[Address:XXX.XXX.XXX.XXX]