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

32 character limitation for ELB names #12

Open
Suresh-TechM opened this issue Sep 25, 2018 · 1 comment
Open

32 character limitation for ELB names #12

Suresh-TechM opened this issue Sep 25, 2018 · 1 comment

Comments

@Suresh-TechM
Copy link

Hi guys, thanks for the wonderful tool. I've came across an issue while trying to tag elb/alb. I'm getting error saying ELB names should be less than 32 characters.
Maybe at the time of creating the script ELB were within 32 characters but since the the use of elbv2(alb/nlb) names are longer than 32 characters. It would be great if you can modify the script to support this. Thanks.

@skeller047
Copy link

Hi - I ran into this same problem. It is because there is no code to account for network loadbalancers.

Look at line 376 in 'tagger.py',
if ':loadbalancer/app/' in resource_arn:

It then uses the elbv2 code, which uses the ARN to identify the load balancer. But network load balancers look like this:
':loadbalancer/net/'

This is passed to the name extraction routine, and it fails because the format of the ARN is different.

Please add this condition to the code. Thanks

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