Browse Source

Don't set targetGroup a name to avoid conflicts

Signed-off-by: Nicolas De Loof <[email protected]>
Nicolas De Loof 5 years ago
parent
commit
59e8eaf744
1 changed files with 0 additions and 1 deletions
  1. 0 1
      ecs/pkg/amazon/backend/cloudformation.go

+ 0 - 1
ecs/pkg/amazon/backend/cloudformation.go

@@ -307,7 +307,6 @@ func createTargetGroup(project *types.Project, service types.ServiceConfig, port
 		port.Published,
 	)
 	template.Resources[targetGroupName] = &elasticloadbalancingv2.TargetGroup{
-		Name:     targetGroupName,
 		Port:     int(port.Target),
 		Protocol: protocol,
 		Tags: []tags.Tag{