Skip to content

Commit

Permalink
Rename collection (ansible-collections#12)
Browse files Browse the repository at this point in the history
* Rename core collection

Rename references to ansible.amazon to amazon.aws.

* Rename community.amazon to community.aws
Fix pep8 line lengths for rewritten amazon.aws imports

* Missed a path in shippable.sh
* Dependency repos moved
  • Loading branch information
jillr committed Jun 21, 2021
1 parent 0e3509f commit fb9ad47
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 18 deletions.
16 changes: 8 additions & 8 deletions plugins/modules/ec2_vpc_endpoint.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,8 +95,8 @@
type: str
author: Karen Cheng (@Etherdaemon)
extends_documentation_fragment:
- ansible.amazon.aws
- ansible.amazon.ec2
- amazon.aws.aws
- amazon.aws.ec2
'''

Expand Down Expand Up @@ -190,12 +190,12 @@
pass # will be picked up by imported HAS_BOTO3

from ansible.module_utils.basic import AnsibleModule
from ansible_collections.ansible.amazon.plugins.module_utils.ec2 import (get_aws_connection_info,
boto3_conn,
ec2_argument_spec,
HAS_BOTO3,
camel_dict_to_snake_dict,
)
from ansible_collections.amazon.aws.plugins.module_utils.ec2 import (get_aws_connection_info,
boto3_conn,
ec2_argument_spec,
HAS_BOTO3,
camel_dict_to_snake_dict,
)
from ansible.module_utils.six import string_types


Expand Down
20 changes: 10 additions & 10 deletions plugins/modules/ec2_vpc_endpoint_info.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@
type: dict
author: Karen Cheng (@Etherdaemon)
extends_documentation_fragment:
- ansible.amazon.aws
- ansible.amazon.ec2
- amazon.aws.aws
- amazon.aws.ec2
'''

Expand Down Expand Up @@ -117,14 +117,14 @@
pass # will be picked up from imported HAS_BOTO3

from ansible.module_utils.basic import AnsibleModule
from ansible_collections.ansible.amazon.plugins.module_utils.ec2 import (ec2_argument_spec,
boto3_conn,
get_aws_connection_info,
ansible_dict_to_boto3_filter_list,
HAS_BOTO3,
camel_dict_to_snake_dict,
AWSRetry,
)
from ansible_collections.amazon.aws.plugins.module_utils.ec2 import (ec2_argument_spec,
boto3_conn,
get_aws_connection_info,
ansible_dict_to_boto3_filter_list,
HAS_BOTO3,
camel_dict_to_snake_dict,
AWSRetry,
)


def date_handler(obj):
Expand Down

0 comments on commit fb9ad47

Please sign in to comment.