TargetGroup
sometimes does not attach to ApplicationLoadBalancer
#1254
Labels
awaiting-feedback
impact/reliability
Something that feels unreliable or flaky
kind/bug
Some behavior is incorrect or out of spec
What happened?
I was trying to create a single
FargateService
with two differentTargetGroup
s attached to anApplicationLoadBalancer
(one tg for HTTP requests, one tg for socket connections). When deployed, one target group simply doesn't attach to the load balancer. What's even more concerning is that, when the exact same code is deployed to a second stack, it attaches just fine. I'm relatively new to Pulumi so there might be something I'm missing, but I assumed identical code should result in identical resources.I understand this might not be reproducible, I mostly just want to flag that I'm seeing inconsistency between environments and hopefully get some answers on how this is possible
Example
Unfortunately, this is part of our private infra so I won't be able to send the entire deploy script, but I'll try to send as much relevant info as possible. Here is the code for the target groups and load balancer:
And here's the code for the target service:
Here are the target groups - the relevant ones are selected. Note that
leaves-socket-tg-dev
has no associated load balancer:Output of
pulumi about
Additional context
No response
Contributing
Vote on this issue by adding a 👍 reaction.
To contribute a fix for this issue, leave a comment (and link to your pull request, if you've opened one already).
The text was updated successfully, but these errors were encountered: