Add SecurityGroupIngress on AWS CF template to allow UDP packets.

This commit is contained in:
Joonsung Lee
2014-11-17 22:11:49 +09:00
parent 931cd3a2df
commit e3ddd59344

View File

@@ -91,7 +91,19 @@
"Fn::GetAtt" : [ "KubernetesSecurityGroup", "GroupId" ]
}
}
},
},
"KubernetesIngressUDP": {
"Type": "AWS::EC2::SecurityGroupIngress",
"Properties": {
"GroupName": {"Ref": "KubernetesSecurityGroup"},
"IpProtocol": "udp",
"FromPort": "1",
"ToPort": "65535",
"SourceSecurityGroupId": {
"Fn::GetAtt" : [ "KubernetesSecurityGroup", "GroupId" ]
}
}
},
"KubernetesMasterInstance": {
"Type": "AWS::EC2::Instance",
"Properties": {