https://pulumi.com logo
#general
Title
# general
c

clean-gigabyte-10143

11/30/2021, 3:06 AM
Hello everyone! Is there a way to extend the AWS fargate pulumi example to use https instead of just http? I'm looking to terminate SSL at the load balancer, something like:
client <- port 443 -> ALB <- port 80 -> Fargate task
c

colossal-boots-62227

11/30/2021, 4:06 AM
Yes you can absolutely do this. The docs have an example of setting up a https listener: https://www.pulumi.com/registry/packages/aws/api-docs/alb/listener/#forward-action
You can setup your http listener to perform a redirect to https as usual
❤️ 1
c

clean-gigabyte-10143

11/30/2021, 4:12 AM
Thank you so much! 🙂
c

colossal-boots-62227

11/30/2021, 4:14 AM
Beware that I linked to AWS classic provider, you’re example is using awsx (which I think is
crosswalk
but don’t quote me on that). I don’t how well they mix and match
👀 1