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

A way to set TARGET_GROUP_LIST="_all_" to automatically assign the instances target group? #79

Open
dom-monaco opened this issue Apr 20, 2018 · 1 comment

Comments

@dom-monaco
Copy link

In the ELB common_function.sh you could set the ELB_LIST='all' and that would prevent the need to hard code ELB values. Im wondering if there is a way to do this for an ALB in elb_v2/ for TARGET_GROUP_LIST.

I have different TG for dev, staging, and prod and would have to manually change the script for every region, in addition the way our setup works it auto generates a TG name so if anything needed to change we would need to modify the script again as the TG name would have changed.

@michaelwittig
Copy link

It should be possible and I agree that this would be convenient:

  1. get the asg name of the instance id with autoscaling_group_name
  2. get the TargetGroupARNs of the asg

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants