Skip to content

Commit

Permalink
Bulk migration to fail_json_aws (ansible-collections#361)
Browse files Browse the repository at this point in the history
* Split imports and sort
* Move camel_dict_to_snake_dict imports to ansible.module_utils.common.dict_transformations
* Cleanup unused imports
* Bulk migration to fail_json_aws
* Changelog

This commit was initially merged in https://github.com/ansible-collections/community.aws
See: ansible-collections@6c88315
  • Loading branch information
tremble authored and goneri committed Sep 21, 2022
1 parent cf903d6 commit a6cf50a
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions plugins/modules/iam_policy_info.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,16 +77,13 @@
type: list
'''

import json

try:
from botocore.exceptions import BotoCoreError, ClientError
except ImportError:
pass

from ansible_collections.amazon.aws.plugins.module_utils.core import AnsibleAWSModule
from ansible_collections.amazon.aws.plugins.module_utils.ec2 import AWSRetry
from ansible.module_utils.six import string_types


class PolicyError(Exception):
Expand Down

0 comments on commit a6cf50a

Please sign in to comment.