Skip to content

Commit

Permalink
Collections related fixes for CI (ansible-collections#96)
Browse files Browse the repository at this point in the history
* Update module deprecations

Switch version to `removed_at_date`

* Don't install amazon.aws from galaxy

We've been using galaxy to install amazon.aws in shippable, but that
doesn't really work if we aren't publising faster. Get that collection
from git so it is most up to date.

* We need to declare python test deps now

* missed a python dep

This commit was initially merged in https://github.com/ansible-collections/community.aws
See: ansible-collections@7cd211e
  • Loading branch information
jillr authored and alinabuzachis committed Sep 21, 2022
1 parent ed2214d commit 6bbee60
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion plugins/modules/cloudwatchlogs_log_group_info.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,8 @@ def main():

module = AnsibleModule(argument_spec=argument_spec, supports_check_mode=True)
if module._name == 'cloudwatchlogs_log_group_facts':
module.deprecate("The 'cloudwatchlogs_log_group_facts' module has been renamed to 'cloudwatchlogs_log_group_info'", version='2.13')
module.deprecate("The 'cloudwatchlogs_log_group_facts' module has been renamed to 'cloudwatchlogs_log_group_info'",
date='2021-12-01', collection_name='community.aws')

if not HAS_BOTO3:
module.fail_json(msg='boto3 is required.')
Expand Down

0 comments on commit 6bbee60

Please sign in to comment.