From b3d0cc44b19b784727b85fb7cdc74874e22bc575 Mon Sep 17 00:00:00 2001 From: Anthony Zawacki Date: Fri, 1 Sep 2023 17:24:23 -0400 Subject: [PATCH] Made the iam_role_name match the node_group name to avoid generating name_prefix longer than 38 characters. --- main.tf | 1 + 1 file changed, 1 insertion(+) diff --git a/main.tf b/main.tf index 711cbeb..8280153 100644 --- a/main.tf +++ b/main.tf @@ -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 = {