Browse Source

normalize volume name

Signed-off-by: aiordache <[email protected]>
aiordache 5 years ago
parent
commit
21f5cf8b40
1 changed files with 1 additions and 1 deletions
  1. 1 1
      ecs/volumes.go

+ 1 - 1
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,