Skip to content

[install/infra] Fixup k3s database unique IDs, GKE unique ID syntax, EKS long branch name IAM role errors #12321

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

Merged
merged 2 commits into from
Aug 24, 2022

Conversation

adrienthebo
Copy link
Contributor

No description provided.

…suffix

EKS limits [iam role prefix lengths] to 38 characters, as the IAM role
length max is 64 characters and the random 26 character suffix eats up
most of the string length. As we're naming our clusters based on the
current branch these names could become quite long.

This commit removes this issue by creating a specific IAM role name and
creating our own unique IDs.

[iam role prefix lengths]: https://github.com/hashicorp/terraform-provider-aws/blob/v4.27.0/internal/service/iam/role.go#L29-L30
@adrienthebo adrienthebo requested review from nandajavarma and a team August 23, 2022 22:59
@github-actions github-actions bot added the team: delivery Issue belongs to the self-hosted team label Aug 23, 2022
@adrienthebo
Copy link
Contributor Author

/release-note-none

Copy link
Contributor

@nandajavarma nandajavarma left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks a lot for making this changes Adrien! I only fixed it on GCP and missed on other clusters 🤦‍♀️

@roboquat roboquat merged commit 7d61faf into nvn/sh-preview-flag Aug 24, 2022
@roboquat roboquat deleted the alt/sh-preview-flag/tf-fixups branch August 24, 2022 01:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release-note-none size/S team: delivery Issue belongs to the self-hosted team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants