diff --git a/lib/ansible/modules/cloud/amazon/ec2_instance_info.py b/lib/ansible/modules/cloud/amazon/ec2_instance_info.py index ce862d47b8a..46bcb4767ff 100644 --- a/lib/ansible/modules/cloud/amazon/ec2_instance_info.py +++ b/lib/ansible/modules/cloud/amazon/ec2_instance_info.py @@ -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')