Skip to content

Commit

Permalink
Made the iam_role_name match the node_group name to avoid generating …
Browse files Browse the repository at this point in the history
…name_prefix longer than 38 characters.
  • Loading branch information
zawac002 committed Sep 1, 2023
1 parent 1de5a30 commit b3d0cc4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,7 @@ module "cluster" {
max_size = var.eks_ng_max_size
desired_size = var.eks_ng_desired_size

iam_role_name = local.ng_name
iam_role_additional_policies = local.additional_policies

block_device_mappings = {
Expand Down

0 comments on commit b3d0cc4

Please sign in to comment.