Update instance_profile_name message

This commit is contained in:
Charles Blonde 2013-09-12 22:14:27 +02:00
parent ac4e16a99b
commit 00ec91bb36

View file

@ -447,8 +447,7 @@ def create_instances(module, ec2):
else:
if instance_profile_name is not None:
module.fail_json(
msg="instance_profile_name is set but Boto library doesn't support it. " +
"Please upgrade to Boto 2.5.0+ or remove this parameter.")
msg="instance_profile_name parameter requires Boto version 2.5.0 or higher")
if vpc_subnet_id:
params['security_group_ids'] = group_id