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: limit cluster_name when creating fargate IAM Role #1270

Conversation

gugacavalieri
Copy link
Contributor

@gugacavalieri gugacavalieri commented Mar 9, 2021

PR o'clock

Description

This PR resolves #1268 😄

This will always limit the aws_iam_role.eks_fargate_pod.name_prefix attribute to 32 chars. If the cluster_name variable is shorter than 24 chars, it will use the full string instead.

Checklist

@gugacavalieri gugacavalieri changed the title limit cluster_name when creating fargate IAM Role fix: limit cluster_name when creating fargate IAM Role Mar 9, 2021
@gugacavalieri gugacavalieri marked this pull request as ready for review March 9, 2021 19:03
@gugacavalieri
Copy link
Contributor Author

Thanks @stijndehaes ! I don't know why CI is failing on the Lint / Docs step tho ...

@barryib barryib merged commit f8bdea1 into terraform-aws-modules:master Apr 19, 2021
barryib pushed a commit to barryib/terraform-aws-eks that referenced this pull request May 20, 2021
@github-actions
Copy link

I'm going to lock this pull request because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems related to this change, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 15, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Fargate aws_iam_role throwing error due to long cluster_name
3 participants