From e2049b7ce7a93dd9dccc7f55a840381f318d5312 Mon Sep 17 00:00:00 2001 From: Kevin Lyda Date: Thu, 26 Mar 2015 11:35:46 +0000 Subject: [PATCH] Fixing issues with VPC. One part of a fix to get this working on AWS VPCs. --- docs/getting-started-guides/aws/cloudformation-template.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/getting-started-guides/aws/cloudformation-template.json b/docs/getting-started-guides/aws/cloudformation-template.json index e2682f8e077..f5a7dd264f4 100644 --- a/docs/getting-started-guides/aws/cloudformation-template.json +++ b/docs/getting-started-guides/aws/cloudformation-template.json @@ -130,7 +130,7 @@ "ImageId": {"Fn::FindInMap" : ["RegionMap", {"Ref": "AWS::Region" }, "AMI"]}, "InstanceType": {"Ref": "InstanceType"}, "KeyName": {"Ref": "KeyPair"}, - "SecurityGroups": [{"Ref": "KubernetesSecurityGroup"}], + "SecurityGroups": [{"Fn::GetAtt": ["KubernetesSecurityGroup", "GroupId"]}], "UserData": { "Fn::Base64": {"Fn::Join" : ["", [ "#cloud-config\n\n", "---\n", @@ -300,7 +300,7 @@ "ImageId": {"Fn::FindInMap" : ["RegionMap", {"Ref": "AWS::Region" }, "AMI" ]}, "InstanceType": {"Ref": "InstanceType"}, "KeyName": {"Ref": "KeyPair"}, - "SecurityGroups": [{"Ref": "KubernetesSecurityGroup"}], + "SecurityGroups": [{"Fn::GetAtt": ["KubernetesSecurityGroup", "GroupId"]}], "UserData": { "Fn::Base64": {"Fn::Join" : ["", [ "#cloud-config\n\n", "coreos:\n",