Created
July 9, 2024 11:22
-
-
Save MrRhodes/8a6d08b594608a0f2c81121c9c412a5e to your computer and use it in GitHub Desktop.
load balancer listening on one port but routing to a different port with Pulumi and AWS crosswalk
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const alb = new awsx.lb.ApplicationLoadBalancer("loadbalancer", { | |
defaultTargetGroup: { | |
port: 3000, | |
healthCheck: { // optional | |
port: "3000", | |
}, | |
}, | |
listener: { | |
port: 80, | |
}, | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment