Merge pull request #717 from aiordache/ecs_norm_vol_names

This commit is contained in:
Nicolas De loof 2020-10-02 15:01:31 +02:00 committed by GitHub
commit 4d1af4657a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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,