From 00ec91bb3620904fdd737cb95465f10c37e65ed7 Mon Sep 17 00:00:00 2001 From: Charles Blonde Date: Thu, 12 Sep 2013 22:14:27 +0200 Subject: [PATCH] Update instance_profile_name message --- library/cloud/ec2 | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/library/cloud/ec2 b/library/cloud/ec2 index e0f1298d24..0c86238d50 100644 --- a/library/cloud/ec2 +++ b/library/cloud/ec2 @@ -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