mirror of https://github.com/docker/compose.git
Don't set securityGroup name, as all compose apps will create a `DefaultNetwork`
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
This commit is contained in:
parent
757b9bb221
commit
20a8f01269
|
@ -189,7 +189,6 @@ func (b *ecsAPIService) ensureNetworks(r *awsResources, project *types.Project,
|
||||||
securityGroup := networkResourceName(name)
|
securityGroup := networkResourceName(name)
|
||||||
template.Resources[securityGroup] = &ec2.SecurityGroup{
|
template.Resources[securityGroup] = &ec2.SecurityGroup{
|
||||||
GroupDescription: fmt.Sprintf("%s Security Group for %s network", project.Name, name),
|
GroupDescription: fmt.Sprintf("%s Security Group for %s network", project.Name, name),
|
||||||
GroupName: securityGroup,
|
|
||||||
VpcId: r.vpc,
|
VpcId: r.vpc,
|
||||||
Tags: networkTags(project, net),
|
Tags: networkTags(project, net),
|
||||||
}
|
}
|
||||||
|
|
|
@ -37,7 +37,6 @@
|
||||||
"DefaultNetwork": {
|
"DefaultNetwork": {
|
||||||
"Properties": {
|
"Properties": {
|
||||||
"GroupDescription": "TestSimpleConvert Security Group for default network",
|
"GroupDescription": "TestSimpleConvert Security Group for default network",
|
||||||
"GroupName": "DefaultNetwork",
|
|
||||||
"Tags": [
|
"Tags": [
|
||||||
{
|
{
|
||||||
"Key": "com.docker.compose.project",
|
"Key": "com.docker.compose.project",
|
||||||
|
|
Loading…
Reference in New Issue