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

Allow dynamic port mapping #1

Open
agalazis opened this issue Jan 22, 2018 · 6 comments
Open

Allow dynamic port mapping #1

agalazis opened this issue Jan 22, 2018 · 6 comments

Comments

@agalazis
Copy link

Allow passing in container and service port separately. This way when service port is zero we can achieve dynamic port mapping without passing custom task definition

@tobyclemson
Copy link
Member

Good idea. Will investigate.

@agalazis
Copy link
Author

Actually, it might not make sense since you seem to target elb rather than alb. In my scenario, I would also want to use target_group_arn rather than elb_arn so there seems to be a gap between the logic of the two.

@tobyclemson
Copy link
Member

@agalazis I think it still makes sense as you may want to map to a different port on the host regardless.

We plan to support ALBs in future as well so I'll try and get this added in.

@ShahNewazKhan
Copy link

Any updates on this?

@tobyclemson
Copy link
Member

@ShahNewazKhan sorry, haven't had a chance to get to this. I'll happily accept a pull request though.

@vlad-ro
Copy link
Contributor

vlad-ro commented Jun 3, 2019

Support for target_group_arn has been added as of 0.6.0 for terraform 0.11 and 1.1.0 for terraform 0.12.

tobyclemson pushed a commit that referenced this issue Nov 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants