From f3c775ae191b67ea197ff42d5ea274dccfea3745 Mon Sep 17 00:00:00 2001 From: Kevin Lyda Date: Thu, 26 Mar 2015 14:26:08 +0000 Subject: [PATCH] Fix AWS::AutoScaling::LaunchConfiguration. This only supports SecurityGroups; I'm assuming I need to use the GroupId for the SecurityGroup with VPCs. In addition this doesn't support SubnetId. --- .../getting-started-guides/aws/cloudformation-template.json | 6 ------ 1 file changed, 6 deletions(-) diff --git a/docs/getting-started-guides/aws/cloudformation-template.json b/docs/getting-started-guides/aws/cloudformation-template.json index cf6262d81d2..f6ddb28f9b3 100644 --- a/docs/getting-started-guides/aws/cloudformation-template.json +++ b/docs/getting-started-guides/aws/cloudformation-template.json @@ -305,18 +305,12 @@ "KubernetesNodeLaunchConfig": { "Type": "AWS::AutoScaling::LaunchConfiguration", "Properties": { - "SubnetId": {"Fn::If": ["UseEC2Classic", {"Ref": "AWS::NoValue"}, {"Ref": "SubnetId"}]}, "ImageId": {"Fn::FindInMap" : ["RegionMap", {"Ref": "AWS::Region" }, "AMI" ]}, "InstanceType": {"Ref": "InstanceType"}, "KeyName": {"Ref": "KeyPair"}, "SecurityGroups": [{"Fn::If": [ "UseEC2Classic", {"Ref": "KubernetesSecurityGroup"}, - {"Ref": "AWS::NoValue"}] - }], - "SecurityGroupIds": [{"Fn::If": [ - "UseEC2Classic", - {"Ref": "AWS::NoValue"}, {"Fn::GetAtt": ["KubernetesSecurityGroup", "GroupId"]}] }], "UserData": { "Fn::Base64": {"Fn::Join" : ["", [