diff --git a/EC2/EC2InstanceWithSecurityGroupSample.json b/EC2/EC2InstanceWithSecurityGroupSample.json index 1c8cf8ab..33c07727 100644 --- a/EC2/EC2InstanceWithSecurityGroupSample.json +++ b/EC2/EC2InstanceWithSecurityGroupSample.json @@ -91,9 +91,12 @@ } ] }, - "SecurityGroups": [ + "SecurityGroupIds": [ { - "Ref": "InstanceSecurityGroup" + "Fn::GetAtt": [ + "InstanceSecurityGroup", + "GroupId" + ] } ], "KeyName": {