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
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ module "eks" {
iam_role_arn = try(var.cluster_iam.iam_role_arn, aws_iam_role.cluster[0].arn, null)
create_iam_role = try(var.cluster_iam.create_iam_role, true)
iam_role_use_name_prefix = try(var.cluster_iam.iam_role_use_name_prefix, true)
iam_role_name = try(var.cluster_iam.iam_role_name, null)
ciiiii marked this conversation as resolved.
Show resolved Hide resolved
iam_role_name = try(var.cluster_iam.iam_role_name, substr("${var.cluster_name}-cluster", 0, 37), null)
iam_role_path = try(var.cluster_iam.iam_role_path, var.iam_path, "/StreamNative/")
iam_role_permissions_boundary = try(var.cluster_iam.iam_role_permissions_boundary, var.permissions_boundary_arn, null)

Expand Down
Loading