aws-load-balancer-controller icon indicating copy to clipboard operation
aws-load-balancer-controller copied to clipboard

[Feature request] Reference a targetGroup by name in `TargetGroupBinding`

Open MarcusDunn opened this issue 6 months ago • 3 comments

EDIT: Right after creating this, I noticed (#2373, which has a similar motivation. Unsure if this should be closed as a duplicate.)

Is your feature request related to a problem? I manage my load balancer externally (Terraform) and use TargetGroupBinding's to attach services to it. Adding a new service and binding it is a long and somewhat manual process.

Currently, I have to

  1. Run Terraform to add new target groups
  2. Wait for it to complete
  3. Find the ARNs of the allocated target groups
  4. Add TargetGroupBindings to my cluster.

Describe the solution you'd like Reference target groups by name (#2655)

I would prefer to be able to run Terraform and add TargetGroupBinding in a single step.

I noticed there was no issue attached to the PR, so I figured I would make one to:

  • Express my interest in the feature and allow others to do the same in a more discoverable place than a two-year-old PR. Or,
  • Find out if someone more clever than me has a better solution.

Describe alternatives you've considered

  • Continue my multi-step, somewhat manual process.
  • Attempt to automate the addition of TargetGroupBinding outside of Terraform and Kubernetes lifecycles.

MarcusDunn avatar Aug 22 '24 16:08 MarcusDunn