-
Notifications
You must be signed in to change notification settings - Fork 4.5k
ApplicationLoadBalancedFargateService CDK construct: currently there is no way to specify idleTimeout for the load balancer #12913
Description
Hello.
Currently there is no way to specify an idleTimeout for the load balancer if we create an ApplicationLoadBalancedFargateService.
Even though we do have such option when we are creating an ApplicationLoadBalancer directly via the ApplicationLoadBalancer construct.
I suggest to implement such option for the ApplicationLoadBalancedFargateService as it is needed very much.
Use Case
I'm using a Fargate service to run a docker container with a 3rd party library that provides http endpoint. This library can take longer than 1 minute to respond (depending on the input) even on the most performant configuration. In that case I'm receiving a 504 Gateway Time-out error from the load balancer. That's why I need a way to specify the idleTimeout for the ApplicationLoadBalancedFargateService.
Proposed Solution
To add a set of load balancer related configuration options to the ApplicationLoadBalancedFargateServiceProps.
Other
Related to the support case 7958289501
Regards,
Anton.