aws_az_info: Fix rename deprecaction warning (#67188)

This commit is contained in:
Mark Chappell 2020-02-07 17:13:02 +01:00 committed by GitHub
parent 4a1115785f
commit 8fa233ba1e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -92,8 +92,8 @@ def main():
) )
module = AnsibleModule(argument_spec=argument_spec) module = AnsibleModule(argument_spec=argument_spec)
if module._name == 'aws_acm_facts': if module._name == 'aws_az_facts':
module.deprecate("The 'aws_az_facts' module has been renamed to 'aws_az_info'", version='2.13') module.deprecate("The 'aws_az_facts' module has been renamed to 'aws_az_info'", version='2.14')
if not HAS_BOTO3: if not HAS_BOTO3:
module.fail_json(msg='boto3 required for this module') module.fail_json(msg='boto3 required for this module')