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

This commit was initially merged in https://github.com/ansible-collections/community.aws
See: ansible-collections@235c5db
  • Loading branch information
jillr authored and alinabuzachis committed Sep 21, 2022
1 parent 07ea827 commit bde5e3f
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 20 deletions.
16 changes: 8 additions & 8 deletions plugins/modules/cloudwatchlogs_log_group.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,8 @@
required: false
type: bool
extends_documentation_fragment:
- ansible.amazon.aws
- ansible.amazon.ec2
- amazon.aws.aws
- amazon.aws.ec2
'''

Expand Down Expand Up @@ -134,12 +134,12 @@
import traceback
from ansible.module_utils._text import to_native
from ansible.module_utils.basic import AnsibleModule
from ansible_collections.ansible.amazon.plugins.module_utils.ec2 import (HAS_BOTO3,
camel_dict_to_snake_dict,
boto3_conn,
ec2_argument_spec,
get_aws_connection_info,
)
from ansible_collections.amazon.aws.plugins.module_utils.ec2 import (HAS_BOTO3,
camel_dict_to_snake_dict,
boto3_conn,
ec2_argument_spec,
get_aws_connection_info,
)

try:
import botocore
Expand Down
16 changes: 8 additions & 8 deletions plugins/modules/cloudwatchlogs_log_group_info.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@
- The name or prefix of the log group to filter by.
type: str
extends_documentation_fragment:
- ansible.amazon.aws
- ansible.amazon.ec2
- amazon.aws.aws
- amazon.aws.ec2
'''

Expand Down Expand Up @@ -76,12 +76,12 @@
import traceback
from ansible.module_utils._text import to_native
from ansible.module_utils.basic import AnsibleModule
from ansible_collections.ansible.amazon.plugins.module_utils.ec2 import (HAS_BOTO3,
camel_dict_to_snake_dict,
boto3_conn,
ec2_argument_spec,
get_aws_connection_info,
)
from ansible_collections.amazon.aws.plugins.module_utils.ec2 import (HAS_BOTO3,
camel_dict_to_snake_dict,
boto3_conn,
ec2_argument_spec,
get_aws_connection_info,
)

try:
import botocore
Expand Down
8 changes: 4 additions & 4 deletions plugins/modules/cloudwatchlogs_log_group_metric_filter.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,8 @@
- The value to emit when a filter pattern does not match a log event.
type: float
extends_documentation_fragment:
- ansible.amazon.aws
- ansible.amazon.ec2
- amazon.aws.aws
- amazon.aws.ec2
'''

Expand Down Expand Up @@ -99,8 +99,8 @@
log_group_name:
metric_filter_count:
"""
from ansible_collections.ansible.amazon.plugins.module_utils.aws.core import AnsibleAWSModule, is_boto3_error_code, get_boto3_client_method_parameters
from ansible_collections.ansible.amazon.plugins.module_utils.ec2 import camel_dict_to_snake_dict
from ansible_collections.amazon.aws.plugins.module_utils.aws.core import AnsibleAWSModule, is_boto3_error_code, get_boto3_client_method_parameters
from ansible_collections.amazon.aws.plugins.module_utils.ec2 import camel_dict_to_snake_dict

try:
from botocore.exceptions import ClientError, BotoCoreError, WaiterError
Expand Down

0 comments on commit bde5e3f

Please sign in to comment.