aws: Fix typo in deprecation warning (#57946)

Changed "ec2_instance_information" to "ec2_instance_info" in deprecation warning.

Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
This commit is contained in:
Abhijeet Kasurde 2019-06-18 02:02:01 +05:30 committed by ansibot
parent 1a63f8642e
commit eed7a338a0

View file

@ -545,7 +545,7 @@ def main():
supports_check_mode=True
)
if module._name == 'ec2_instance_facts':
module.deprecate("The 'ec2_instance_facts' module has been renamed to 'ec2_instance_information'", version='2.13')
module.deprecate("The 'ec2_instance_facts' module has been renamed to 'ec2_instance_info'", version='2.13')
if not HAS_BOTO3:
module.fail_json(msg='boto3 required for this module')