aws_az_info: Fix rename deprecaction warning (#67188)
This commit is contained in:
parent
4a1115785f
commit
8fa233ba1e
1 changed files with 2 additions and 2 deletions
|
@ -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')
|
||||||
|
|
Loading…
Reference in a new issue