mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 19:56:01 +00:00
Fix indentation and types cf template parameters
Use AWS specific types for key pair name and vpc parts
This commit is contained in:
parent
8a7a127352
commit
2d01f1f02e
@ -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": {
|
||||
|
Loading…
Reference in New Issue
Block a user