-
Notifications
You must be signed in to change notification settings - Fork 342
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Migrations to AnsibleAWSModule (and related cleanup) (#38)
* Move last boto 2 modules to AnsibleAWSModule * Move last boto3 modules to AnsibleAWSModule * Remove last use of ec2_argument_spec in modules * HAS_BOTO3 logic no longer required - Using AnsibleAWSModule * Be more consistent in our use of HAS_BOTO * Split imports by line - much easier to work with during refactoring/cleanup * Use module.client() to get boto3 clients * Shuffle import orders for consistency * Pull camel_dict_to_snake_dict from its canonical source * Use module.fail_json_aws and is_boto3_error_code to simplify error handling * tweak integration tests to allow more information in the error messages
- Loading branch information
Showing
13 changed files
with
290 additions
and
394 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
Oops, something went wrong.