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

fix: restrict cluster iam role name prefix length #150

Merged
merged 1 commit into from
Dec 12, 2024
Merged

fix: restrict cluster iam role name prefix length #150

merged 1 commit into from
Dec 12, 2024

Conversation

maxsxu
Copy link
Member

@maxsxu maxsxu commented Dec 11, 2024

Motivation

IAM Role name length is between 1 and 64.

The IAM Role name_prefix length is between 1 and 38. Because the suffix length is 26 which is defined in the terraform provider.

Modifications

  • Restrict ${var.cluster_name}-cluster to 37, since the separator - is 1

Verifying this change

  • For new cluster
  • For existing cluster

Documentation

  • no-need-doc

@maxsxu maxsxu requested a review from ciiiii December 11, 2024 07:28
@github-actions github-actions bot added the no-need-doc This pr does not need any document label Dec 11, 2024
main.tf Show resolved Hide resolved
@maxsxu maxsxu marked this pull request as ready for review December 11, 2024 08:26
@maxsxu maxsxu requested a review from a team as a code owner December 11, 2024 08:26
@maxsxu maxsxu merged commit 8c50e1f into master Dec 12, 2024
4 checks passed
@maxsxu maxsxu deleted the max/fix branch December 12, 2024 07:00
maxsxu pushed a commit that referenced this pull request Dec 12, 2024
🤖 I have created a release *beep* *boop*
---


##
[4.1.2](v4.1.1...v4.1.2)
(2024-12-12)


### Bug Fixes

* restrict cluster iam role name prefix length
([#150](#150))
([8c50e1f](8c50e1f))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
no-need-doc This pr does not need any document
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants