Update instance_profile_name message
This commit is contained in:
parent
637e4216ac
commit
4639295563
1 changed files with 1 additions and 2 deletions
|
@ -447,8 +447,7 @@ def create_instances(module, ec2):
|
||||||
else:
|
else:
|
||||||
if instance_profile_name is not None:
|
if instance_profile_name is not None:
|
||||||
module.fail_json(
|
module.fail_json(
|
||||||
msg="instance_profile_name is set but Boto library doesn't support it. " +
|
msg="instance_profile_name parameter requires Boto version 2.5.0 or higher")
|
||||||
"Please upgrade to Boto 2.5.0+ or remove this parameter.")
|
|
||||||
|
|
||||||
if vpc_subnet_id:
|
if vpc_subnet_id:
|
||||||
params['security_group_ids'] = group_id
|
params['security_group_ids'] = group_id
|
||||||
|
|
Loading…
Reference in a new issue