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

launch the same cluster name in different Region does not work #255

Open
allamand opened this issue Nov 4, 2024 · 1 comment · May be fixed by #258
Open

launch the same cluster name in different Region does not work #255

allamand opened this issue Nov 4, 2024 · 1 comment · May be fixed by #258
Labels
bug Something isn't working in progress

Comments

@allamand
Copy link
Contributor

allamand commented Nov 4, 2024

When trying to reuse eksdemo with a cluster with the same name in another region won't work due to confilct in IAM role names

Resource handler returned message: "Resource of type 'AWS::IAM::Role' with identifier 'eksdemo.eksworkshop-eksctl.karpenter.karpenter' already exists." (RequestToken: 7f140197-586a-10bb-7463-2366bb6313ba, HandlerErrorCode: AlreadyExists)

would be nice If we can allow this by adding some kind of prefix in role names

@aaroniscode aaroniscode linked a pull request Nov 11, 2024 that will close this issue
@aaroniscode
Copy link
Contributor

@allamand Can you take a look at the potential fix?

IRSA role names would be:

eksdemo.<region>.<cluster-name>.<namespace>.<service-account-name>

Role names above 64 characters are truncated and a hash is added to make them unique.

What do you think?

@aaroniscode aaroniscode added bug Something isn't working in progress labels Nov 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working in progress
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants