From 9770c7f47d4ae17cb0ec766847c5170fde2952dc Mon Sep 17 00:00:00 2001 From: Ben Date: Thu, 24 Apr 2014 11:47:41 -0600 Subject: [PATCH 1/2] Added instance_type to ec2_lc variable list --- library/cloud/ec2_lc | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/library/cloud/ec2_lc b/library/cloud/ec2_lc index 91905a38894..dc7b3064e3a 100644 --- a/library/cloud/ec2_lc +++ b/library/cloud/ec2_lc @@ -33,6 +33,12 @@ options: description: - Unique name for configuration required: true + instance_type: + description: + - instance type to use for the instance + required: true + default: null + aliases: [] image_id: description: - The AMI unique identifier to be used for the group From 30b634eae94580978f4434c6bebbd867d61b88fb Mon Sep 17 00:00:00 2001 From: Ben Date: Thu, 24 Apr 2014 11:50:49 -0600 Subject: [PATCH 2/2] updated example to include instance_type --- library/cloud/ec2_lc | 1 + 1 file changed, 1 insertion(+) diff --git a/library/cloud/ec2_lc b/library/cloud/ec2_lc index dc7b3064e3a..dbf93ba629a 100644 --- a/library/cloud/ec2_lc +++ b/library/cloud/ec2_lc @@ -77,6 +77,7 @@ EXAMPLES = ''' image_id: ami-XXX key_name: default security_groups: 'group,group2' + instance_type: t1.micro '''