cloudformation: fix typo in generated ingress description

Signed-off-by: Gergely Imreh <imrehg@gmail.com>
This commit is contained in:
Gergely Imreh 2020-10-28 22:39:43 +00:00
parent bfd9f5b431
commit d6461df474
2 changed files with 2 additions and 2 deletions

View File

@ -210,7 +210,7 @@ func (b *ecsAPIService) createIngress(service types.ServiceConfig, net string, p
ingress := fmt.Sprintf("%s%dIngress", normalizeResourceName(net), port.Target)
template.Resources[ingress] = &ec2.SecurityGroupIngress{
CidrIp: "0.0.0.0/0",
Description: fmt.Sprintf("%s:%d/%s on %s nextwork", service.Name, port.Target, port.Protocol, net),
Description: fmt.Sprintf("%s:%d/%s on %s network", service.Name, port.Target, port.Protocol, net),
GroupId: resources.securityGroups[net],
FromPort: int(port.Target),
IpProtocol: protocol,

View File

@ -24,7 +24,7 @@
"Default80Ingress": {
"Properties": {
"CidrIp": "0.0.0.0/0",
"Description": "simple:80/tcp on default nextwork",
"Description": "simple:80/tcp on default network",
"FromPort": 80,
"GroupId": {
"Ref": "DefaultNetwork"