From cf906951bf8fecf3b34bd5ea923adf121bb4d86b Mon Sep 17 00:00:00 2001 From: aiordache Date: Fri, 2 Oct 2020 14:18:57 +0200 Subject: [PATCH] Normalize volume names Signed-off-by: aiordache --- ecs/volumes.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ecs/volumes.go b/ecs/volumes.go index d3f246216..f4f80bf4f 100644 --- a/ecs/volumes.go +++ b/ecs/volumes.go @@ -42,7 +42,7 @@ func (b *ecsAPIService) createNFSmountIngress(securityGroups []string, project * } break } - name := fmt.Sprintf("%sNFSMount%s", s.Name, n) + name := fmt.Sprintf("%sNFSMount%s", normalizeResourceName(s.Name), n) template.Resources[name] = &ec2.SecurityGroupIngress{ Description: fmt.Sprintf("Allow NFS mount for %s on %s", s.Name, n), GroupId: target,