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

[Feature] Trim stack names or provide an early warning #7703

Open
errordeveloper opened this issue Apr 5, 2024 · 0 comments
Open

[Feature] Trim stack names or provide an early warning #7703

errordeveloper opened this issue Apr 5, 2024 · 0 comments
Labels
kind/feature New feature or request priority/important-longterm Important over the long term, but may not be currently staffed and/or may require multiple releases

Comments

@errordeveloper
Copy link
Contributor

errordeveloper commented Apr 5, 2024

What feature/behavior/change do you want?

When creating a cluster with a relatively long name, like ilya-abcdefg-test1-graviton, and having an IRSA config with SAs with long namespace+name string, e.g. Cluster API in my case, one can hit this:

2024-04-05 11:05:21 [✖]  creating CloudFormation stack "eksctl-ilya-abcdefg-test1-graviton-addon-iamserviceaccount-capa-eks-control-plane-system-capa-eks-control-plane-controller-manager": operation error CloudFormation: CreateStack, https response error StatusCode: 400, RequestID: b6b36dbe-eed8-4fe1-bbab-bf398fd3c089, api error ValidationError: Stack name cannot exceed 128 characters

What is unfortunate is that this error could have been caught or avoided earlier. In this case, I had to wait 10 minutes for this error to come up.

Why do you want this feature?

Failing early is always better :)

@errordeveloper errordeveloper added the kind/feature New feature or request label Apr 5, 2024
@TiberiuGC TiberiuGC added the priority/important-longterm Important over the long term, but may not be currently staffed and/or may require multiple releases label Apr 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/feature New feature or request priority/important-longterm Important over the long term, but may not be currently staffed and/or may require multiple releases
Projects
None yet
Development

No branches or pull requests

2 participants