aws / apprunner-roadmap

This is the public roadmap for AWS App Runner.
https://aws.amazon.com/apprunner/
Other
301 stars 14 forks source link

Multiple ports #214

Open oscarthorn opened 1 year ago

oscarthorn commented 1 year ago

Community Note

Tell us about your request As of now it only seems possible to expose one port from an app runner service. But there are many instances where you might want to expose several ports. For example having rest api on one port and gRPC on different port. Or in our case running an otel collector that exposes the health check on a different port from the receiver. It would be very useful is app runner supported this.

Describe alternatives you've considered If you need multiple ports there really are no alternatives.

ucfchandra commented 3 weeks ago

Would like to document another reason this is helpful.

When running tofu test on AppRunner, I have a hacky method to get AppRunner to start up, which entails populating ECR repos with an nginx image, which uses port 80. However, I am trying to set up a terragrunt way to get AppRunner up, and it still is checking for 8000 because I don't have the "is_tofu_test_environment" variable set when I'm actually spinning up infrastructure.