Commit Graph

16 Commits (ec158e3ed83eaded352d59cb3c228704b5c03cfe)

Author SHA1 Message Date
codemeup @ Work 7314cc3867 Fixing error exception handling for python3. Does not need to be compa… (#3840)
* Fixing error exception handling for python. Does not need to be compatible with Python2.4 b/c boto is Python 2.6 and above.

* Fixing error exception handling for python. Does not need to be compatible with Python2.4 b/c boto is Python 2.6 and above.

* Fixing compile time errors IRT error exception handling for Python 3.5.
This does not need to be compatible with Python2.4 b/c Boto is Python 2.6 and above.
9 years ago
cspollar df0adafe66 Add missing periods to description items.
Current theme used by docs.ansible.com displays description items on one line. Adding periods helps readability.
9 years ago
Toshio Kuratomi cd9a7667aa Don't raise or catch StandardError in amazon modules 9 years ago
whiter 5e61f0882b Add region to doc and handle missing region parameter 9 years ago
Brian Coca 5f1f1b2904 Merge pull request #2216 from wimnat/feature/revert-1906
Set default of dimensions parameter to be empty dict
9 years ago
Rob 5a6599d70d Move import statements for easier debugging (correct line numbers) 9 years ago
Brian Coca c4f64d822c changed modules to use common ec2 docs for region 9 years ago
Rob ca517abf07 Set default of dimensions parameter to be empty dict 9 years ago
Michael J. Schultz 63d7bbea19 Return an iterable instead of None
By default `.get()` will return `None` on a key that doesn't exist. This
causes a `TypeError` in the `for` loop a few lines down. This change simply
returns an iterable type to avoid the error.
9 years ago
Greg DeKoenigsberg 28a869a030 Updating cloud modules with proper github author information 10 years ago
Pascal Borreli f29a6ec54d Fixed typos 10 years ago
Brian Coca 78de8bbd99 removed unused and undefined aws_regions 10 years ago
steenzout d960dc1584 issue #994: use HAS_BOTO to determine if import was successful:
- removed import of sys module.
- HAS_BOTO constant to check if import was successful.
- trigger a failure when import fails.
- removed unnecessary imports.
10 years ago
Matt Ferrante e1f2c570eb check keys is in dim2 before evaluating 10 years ago
Will Thames 30c7f9a7d3 Added better region handling and enabled eu-central-1
Make use of improved connect_to_aws that throws an exception
if a region can't be connected to (e.g. eu-central-1 requires
boto 2.34 onwards)

Add eu-central-1 to the two modules that hardcode their regions
Add us-gov-west-1 to ec2_ami_search to match documentation!
This pull request makes use of the changes in ansible/ansible#9419
10 years ago
Brian Coca 0c4adcb2c6 made subcategories for cloud modules for better organization 10 years ago