https://pulumi.com logo
a

average-dream-51210

07/26/2019, 3:20 AM
How can I make the Listener forward to 8081 to the container instead of 443?
w

white-balloon-205

07/26/2019, 4:07 AM
@lemon-spoon-91807 is this possible currently? It seems like the case where a listener is passed in doesn’t support also specifying a containerPort?
l

lemon-spoon-91807

07/26/2019, 4:09 AM
Def possible. You can do something similar to this:
Copy code
ts
new awsx.elasticloadbalancingv2.NetworkTargetGroup("custom", { port: 8080 }, providerOpts)
         .createListener("custom", { port: 80 });
a

average-dream-51210

07/26/2019, 7:12 PM
omg, thank you guys!
l

lemon-spoon-91807

07/26/2019, 7:12 PM
sure!