Skip to content
This repository has been archived by the owner on Jun 29, 2022. It is now read-only.

Handle AWS ELB target group names > 32 characters #366

Closed
johananl opened this issue Apr 27, 2020 · 3 comments
Closed

Handle AWS ELB target group names > 32 characters #366

johananl opened this issue Apr 27, 2020 · 3 comments
Labels
area/ux User Experience bug Something isn't working platform/aws AWS-related

Comments

@johananl
Copy link
Member

ELB target groups are limited to 32 characters on the AWS API. Since we interpolate the cluster name and worker pool name into the target group, long cluster/pool names may exceed this limit.

At the moment there is no check in place for this limit - we fail the deployment with a not-so-nice Terraform error. Ideally we should find a way to never hit this limit. An alternative would be to validate the config and fail fast if necessary.

@johananl johananl added bug Something isn't working platform/aws AWS-related area/ux User Experience labels Apr 27, 2020
@johananl
Copy link
Member Author

Handled in #367. We simply let Terraform generate a random target group name and put the meaningful info (cluster + worker pool name) in AWS tags.

@invidian
Copy link
Member

See also #282.

@johananl
Copy link
Member Author

#367 is merged. Closing.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area/ux User Experience bug Something isn't working platform/aws AWS-related
Projects
None yet
Development

No branches or pull requests

2 participants