-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
[Bug]: String length check needed for aws_iam_role.irsa name in module kubernetes-addons #333
Comments
Hi @gmirsky, thanks for reporting this issue. I've created an issue for tracking this. |
All the IAM roles and policies are prefixed with EKS Cluster names for better identification and making it unique to the cluster. We need to add checks for the following resources that cannot exceed 64 characters length
|
A counter point to that: allow the name to be configured via a variable. 64 characters is very limiting, especially when the suffix I am running into a scenario where the I would further argue that it is not this module's place to enforce a naming convention onto its userbase. Suggest one, definitely, but not force. |
For visibility, I just ran into this too. After getting everything else configured, I went to add the load-balancer only to discover I have ... 65 characters naturally. If the current format is to continue it would be great to add a check that the |
Welcome to Amazon SSP EKS Accelerator!
Amazon EKS Accelerator Release version
v3.5.0
What is your environment, configuration and the example used?
Terraform v1.1.7
What did you do and What did you see instead?
Cluster name was mri-dbg-gen-566646271983 but the underlying module tried to create a name larger than 64 characters causing the terraform apply to fail. Some sort of length check needs to be implemented for name on line 47.
Additional Information
No response
The text was updated successfully, but these errors were encountered: