소스 검색

Merge pull request #717 from aiordache/ecs_norm_vol_names

Nicolas De loof 5 년 전
부모
커밋
4d1af4657a
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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", 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,