diff --git a/changelogs/fragments/57613-facts.yml b/changelogs/fragments/57613-facts.yml new file mode 100644 index 00000000000..0918de0192f --- /dev/null +++ b/changelogs/fragments/57613-facts.yml @@ -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). diff --git a/meta/runtime.yml b/meta/runtime.yml index 2f48491e5bd..74a8b36ffc9 100644 --- a/meta/runtime.yml +++ b/meta/runtime.yml @@ -1,7 +1,6 @@ requires_ansible: '>=2.9.10' action_groups: aws: - - aws_az_facts - aws_az_info - aws_caller_info - aws_s3 diff --git a/plugins/modules/aws_az_facts.py b/plugins/modules/aws_az_facts.py deleted file mode 120000 index 62447531e03..00000000000 --- a/plugins/modules/aws_az_facts.py +++ /dev/null @@ -1 +0,0 @@ -aws_az_info.py \ No newline at end of file diff --git a/plugins/modules/aws_az_info.py b/plugins/modules/aws_az_info.py index 9f9d01ef5f3..344a095938e 100644 --- a/plugins/modules/aws_az_info.py +++ b/plugins/modules/aws_az_info.py @@ -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()) diff --git a/tests/sanity/ignore-2.9.txt b/tests/sanity/ignore-2.9.txt index f24dddf6882..f55e9b83961 100644 --- a/tests/sanity/ignore-2.9.txt +++ b/tests/sanity/ignore-2.9.txt @@ -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