From 2d01f1f02e12eb78cd81efdee3a80b87113be260 Mon Sep 17 00:00:00 2001 From: Anton Ilin Date: Sun, 8 Feb 2015 23:13:13 +0200 Subject: [PATCH] Fix indentation and types cf template parameters Use AWS specific types for key pair name and vpc parts --- .../aws/cloudformation-template.json | 32 +++++++++---------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/docs/getting-started-guides/aws/cloudformation-template.json b/docs/getting-started-guides/aws/cloudformation-template.json index f6ddb28f9b3..e5d3a8884cc 100644 --- a/docs/getting-started-guides/aws/cloudformation-template.json +++ b/docs/getting-started-guides/aws/cloudformation-template.json @@ -62,26 +62,26 @@ }, "KeyPair": { "Description": "The name of an EC2 Key Pair to allow SSH access to the instance.", - "Type": "String" + "Type": "AWS::EC2::KeyPair::KeyName" }, "VpcId": { - "Description": "The ID of the VPC to launch into.", - "Type": "String", - "Default": "" - }, - "SubnetId": { - "Description": "The ID of the VPC to launch into (that must be within the supplied VPC)", - "Type": "String", - "Default": "" - }, - "SubnetAZ": { - "Description": "The availability zone of the subnet supplied (for example eu-west-1a)", - "Type": "String", - "Default": "" - } + "Description": "The ID of the VPC to launch into.", + "Type": "AWS::EC2::VPC::Id", + "Default": "" + }, + "SubnetId": { + "Description": "The ID of the subnet to launch into (that must be within the supplied VPC)", + "Type": "AWS::EC2::Subnet::Id", + "Default": "" + }, + "SubnetAZ": { + "Description": "The availability zone of the subnet supplied (for example eu-west-1a)", + "Type": "String", + "Default": "" + } }, "Conditions": { - "UseEC2Classic": {"Fn::Equals": [{"Ref": "VpcId"}, ""]} + "UseEC2Classic": {"Fn::Equals": [{"Ref": "VpcId"}, ""]} }, "Resources": { "KubernetesSecurityGroup": {