Skip to content

Commit

Permalink
aws_az_info remove aws_az_facts alias (ansible-collections#832)
Browse files Browse the repository at this point in the history
aws_az_info remove aws_az_facts alias

SUMMARY
The aws_az_facts alias was deprecated in Ansible 2.9 remove it as previously announced.
ISSUE TYPE

Feature Pull Request

COMPONENT NAME
aws_az_info
ADDITIONAL INFORMATION
See also ansible/ansible#57613
  • Loading branch information
tremble authored May 24, 2022
1 parent 48fc2c4 commit 23a8ac9
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 5 deletions.
2 changes: 2 additions & 0 deletions changelogs/fragments/57613-facts.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
breaking_changes:
- aws_az_info - the module alias ``aws_az_facts`` was deprecated in Ansible 2.9 and has now been removed (https://github.com/ansible-collections/amazon.aws/pull/832).
1 change: 0 additions & 1 deletion meta/runtime.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
requires_ansible: '>=2.9.10'
action_groups:
aws:
- aws_az_facts
- aws_az_info
- aws_caller_info
- aws_s3
Expand Down
1 change: 0 additions & 1 deletion plugins/modules/aws_az_facts.py

This file was deleted.

2 changes: 0 additions & 2 deletions plugins/modules/aws_az_info.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,8 +84,6 @@ def main():
)

module = AnsibleAWSModule(argument_spec=argument_spec, supports_check_mode=True)
if module._name == 'aws_az_facts':
module.deprecate("The 'aws_az_facts' module has been renamed to 'aws_az_info'", date='2022-06-01', collection_name='amazon.aws')

connection = module.client('ec2', retry_decorator=AWSRetry.jittered_backoff())

Expand Down
1 change: 0 additions & 1 deletion tests/sanity/ignore-2.9.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
plugins/module_utils/botocore.py pylint:ansible-deprecated-no-version # We use dates for deprecations, Ansible 2.9 only supports this for compatability
plugins/modules/aws_az_info.py pylint:ansible-deprecated-no-version # We use dates for deprecations, Ansible 2.9 only supports this for compatability
plugins/modules/ec2_tag.py pylint:ansible-deprecated-no-version # We use dates for deprecations, Ansible 2.9 only supports this for compatability
plugins/modules/ec2_vol.py pylint:ansible-deprecated-no-version # We use dates for deprecations, Ansible 2.9 only supports this for compatability
plugins/modules/ec2_vpc_dhcp_option.py pylint:ansible-deprecated-no-version # We use dates for deprecations, Ansible 2.9 only supports this for compatability
Expand Down

0 comments on commit 23a8ac9

Please sign in to comment.