Don't set targetGroup a name to avoid conflicts

Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
This commit is contained in:
Nicolas De Loof 2020-08-10 08:32:52 +02:00
parent 35019564e4
commit 59e8eaf744
No known key found for this signature in database
GPG Key ID: 9858809D6F8F6E7E
1 changed files with 0 additions and 1 deletions

View File

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