aws-samples / aws-cdk-examples

Example projects using the AWS CDK
Apache License 2.0
5.12k stars 2.15k forks source link

feature-request: shared listener in cross-load-balancer example #386

Open tenjaa opened 3 years ago

tenjaa commented 3 years ago

:rocket: Feature Request

General Information

Description

The cross-load-balancer example mentions a third option to solve the problem. We just had the need to implement it and would be open to extend the example.

Proposed Solution

(A third option, not pictured here, is to create the shared listener with a fixed response and add a new listener rule in the service stack).

We provide a PR with our solution of the third option. Just leave a quick reply if you are interested :)

azizmb commented 3 years ago

An example would be great. Currently trying something like this, but causes dependencies with the Load Balancer stack, causing it to fail, if not both run together.