Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

best way to do multiple listeners #38

Closed
rojomisin opened this issue Feb 12, 2018 · 4 comments · Fixed by #49
Closed

best way to do multiple listeners #38

rojomisin opened this issue Feb 12, 2018 · 4 comments · Fixed by #49

Comments

@rojomisin
Copy link

Great work on this module, really wraps this process easily.
question:
If I have 2 listeners to implement, do I just create the listener and target group pairs separately and attach to the alb arn?

@jseiser
Copy link

jseiser commented Mar 1, 2018

Same issue here, Im not really seeing how to make this work.

I have 3 autoscaling groups, which all list on HTTPS/8081, and HTTP/80. SSL Cert will be the same for all the HTTPS ports and access is determined with host based routing. This appears to want to setup a default listener and target group.

@brandonjbjelland
Copy link
Contributor

Hey @rojomisin and @jseiser - Thanks for the interest in this project and explaining what you're trying to do. I think the use case here is common enough to find a viable solution and I have an idea in mind for it. For now, you might be able to create some resources outside of the module and connect them via the outputs from this module... though I'm not 100% sure and you might end up with unused resources from within the module. I have some time off this week to play around with some improvements and this is definitely one of them.

@brandonjbjelland
Copy link
Contributor

Worked through this today and got to the point of successfully defining both listener types (http/tcp, https) as lists of maps to add flexibility. Rereading what you have here, I'm thinking you're also asking for the target groups to be defined in a similar way (as a list of maps that provide config details). I should have that wrapped up in the next day.

@github-actions
Copy link

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 17, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
3 participants