Explorar o código

add SO link for issue if listener is not in service dependencies

Signed-off-by: aiordache <[email protected]>
Signed-off-by: Nicolas De Loof <[email protected]>
aiordache %!s(int64=5) %!d(string=hai) anos
pai
achega
92173eaf35
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      ecs/pkg/amazon/cloudformation.go

+ 2 - 0
ecs/pkg/amazon/cloudformation.go

@@ -236,6 +236,8 @@ func (c client) Convert(project *compose.Project) (*cloudformation.Template, err
 					strings.ToUpper(port.Protocol),
 					string(port.Published),
 				)
+				//add listener to dependsOn
+				//https://stackoverflow.com/questions/53971873/the-target-group-does-not-have-an-associated-load-balancer
 				dependsOn = append(dependsOn, listenerName)
 				template.Resources[listenerName] = &elasticloadbalancingv2.Listener{
 					DefaultActions: []elasticloadbalancingv2.Listener_Action{