From d6461df474e27e3cce70490fa027c5ec7738aa8f Mon Sep 17 00:00:00 2001 From: Gergely Imreh Date: Wed, 28 Oct 2020 22:39:43 +0000 Subject: [PATCH] cloudformation: fix typo in generated ingress description Signed-off-by: Gergely Imreh --- ecs/cloudformation.go | 2 +- ecs/testdata/simple/simple-cloudformation-conversion.golden | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ecs/cloudformation.go b/ecs/cloudformation.go index 895f568b..2fded870 100644 --- a/ecs/cloudformation.go +++ b/ecs/cloudformation.go @@ -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, diff --git a/ecs/testdata/simple/simple-cloudformation-conversion.golden b/ecs/testdata/simple/simple-cloudformation-conversion.golden index 51812113..fa63524d 100644 --- a/ecs/testdata/simple/simple-cloudformation-conversion.golden +++ b/ecs/testdata/simple/simple-cloudformation-conversion.golden @@ -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"