diff --git a/ecs/volumes.go b/ecs/volumes.go index f4f80bf4f..c17d5e078 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", normalizeResourceName(s.Name), n) + name := fmt.Sprintf("%sNFSMount%s", normalizeResourceName(s.Name), normalizeResourceName(n)) template.Resources[name] = &ec2.SecurityGroupIngress{ Description: fmt.Sprintf("Allow NFS mount for %s on %s", s.Name, n), GroupId: target,