From dbaa8c9ed595988c612e65fe1df316dba8fb10e9 Mon Sep 17 00:00:00 2001 From: Carlos Rodriguez Lopez Date: Wed, 8 Nov 2023 09:01:07 +0100 Subject: [PATCH] Fix couples of issues with the module role_name_prefix - Name too long external_dns.create_role=true --- clouds/aws/modules/aws-eks-addons-v5/main.tf | 3 ++- libs/k8s | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/clouds/aws/modules/aws-eks-addons-v5/main.tf b/clouds/aws/modules/aws-eks-addons-v5/main.tf index 9492b0c..1eabcec 100644 --- a/clouds/aws/modules/aws-eks-addons-v5/main.tf +++ b/clouds/aws/modules/aws-eks-addons-v5/main.tf @@ -59,6 +59,7 @@ module "eks_blueprints_addons" { } enable_external_dns = local.eks_bp_addon_external_dns external_dns = { + create_role = true, values = [templatefile("${local.helm_values_path}/external-dns.yaml", { zoneIdFilter = local.route53_zone_id zoneType = local.hosted_zone_type @@ -105,7 +106,7 @@ module "ebs_csi_driver_irsa" { source = "terraform-aws-modules/iam/aws//modules/iam-role-for-service-accounts-eks" version = "5.29.0" - role_name_prefix = "${var.eks_cluster_id}-ebs-csi-driver-" + role_name_prefix = "${var.eks_cluster_id}-ebs-csi-driv" attach_ebs_csi_policy = true diff --git a/libs/k8s b/libs/k8s index 7529fa0..338a197 160000 --- a/libs/k8s +++ b/libs/k8s @@ -1 +1 @@ -Subproject commit 7529fa09da087be86efe6d650b13c1a3378421be +Subproject commit 338a197e756119fcd5c79c3f28c415a9832c8429