From 1515f822cb693d8e9b2a54842ed2f580b03024d7 Mon Sep 17 00:00:00 2001 From: George Scott Date: Mon, 30 Oct 2023 16:40:32 -0500 Subject: [PATCH] feat: Remove vpc-cni EKS add-on in app_eks/main.tf --- modules/app_eks/main.tf | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/modules/app_eks/main.tf b/modules/app_eks/main.tf index 161a27b7..af6be069 100644 --- a/modules/app_eks/main.tf +++ b/modules/app_eks/main.tf @@ -15,11 +15,15 @@ resource "aws_eks_addon" "eks" { ] } -resource "aws_eks_addon" "vpc_cni" { - cluster_name = var.namespace - addon_name = "vpc-cni" - depends_on = [module.eks] -} +# removed due to conflict with +# AWS Load Balancer Controller +# being installed with Helm. +# See: https://kubernetes-sigs.github.io/aws-load-balancer-controller/v2.6/ +#resource "aws_eks_addon" "vpc_cni" { +# cluster_name = var.namespace +# addon_name = "vpc-cni" +# depends_on = [module.eks] +#} locals { managed_policy_arns = concat([