{
"papiAppIngress8008FromZenCoderElb" : {
"Type" : "AWS::EC2::SecurityGroupIngress",
"Condition": "isStage",
"Properties" : {
"GroupId" : { "Ref" : "papiApp" },
"IpProtocol" : "TCP",
"FromPort" : "8008",
"ToPort" : "8008",
"SourceSecurityGroupId" : { "Ref" : "zenCoderWhitelist" }
}
},
"mapiAppIngress8008FromZenCoderElb" : {
"Type" : "AWS::EC2::SecurityGroupIngress",
"Condition": "isStage",
"Properties" : {
"GroupId" : { "Ref" : "mapiApp" },
"IpProtocol" : "TCP",
"FromPort" : "8008",
"ToPort" : "8008",
"SourceSecurityGroupId" : { "Ref" : "zenCoderWhitelist" }
}
},
"apiAppIngress8008FromZenCoderElb" : {
"Type" : "AWS::EC2::SecurityGroupIngress",
"Condition": "isStage",
"Properties" : {
"GroupId" : { "Ref" : "apiApp" },
"IpProtocol" : "TCP",
"FromPort" : "8008",
"ToPort" : "8008",
"SourceSecurityGroupId" : { "Ref" : "zenCoderWhitelist" }
}
},
{ "IpProtocol" : "tcp", "FromPort" : "443", "ToPort" : "443", "CidrIp" : "0.0.0.0/0"},
{ "IpProtocol" : "tcp", "FromPort" : "80", "ToPort" : "80", "CidrIp" : "0.0.0.0/0"},
{
"IpProtocol" : "TCP",
"FromPort" : "80",
"ToPort" : "80",
"SourceSecurityGroupId" : { "Ref" : "web" }
},
{
"IpProtocol" : "TCP",
"FromPort" : "80",
"ToPort" : "80",
"SourceSecurityGroupId" : { "Ref" : "apiApp" }
},
{
"IpProtocol" : "TCP",
"FromPort" : "80",
"ToPort" : "80",
"SourceSecurityGroupId" : { "Ref" : "mapiApp" }
},
{
"IpProtocol" : "TCP",
"FromPort" : "80",
"ToPort" : "80",
"SourceSecurityGroupId" : { "Ref" : "papiApp" }
},
{
"IpProtocol" : "TCP",
"FromPort" : "80",
"ToPort" : "80",
"SourceSecurityGroupId" : { "Ref" : "apiCache" }
}
}