From 535a06993005bd9e667343f223dd5419b0ede4ed Mon Sep 17 00:00:00 2001 From: Zachary Blasczyk <77289967+zacharyblasczyk@users.noreply.github.com> Date: Thu, 27 Jun 2024 15:00:44 -0500 Subject: [PATCH 1/2] fix: AWS VPC CNI revert --- modules/app_eks/add-ons.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/app_eks/add-ons.tf b/modules/app_eks/add-ons.tf index 56503d6c..076527ee 100644 --- a/modules/app_eks/add-ons.tf +++ b/modules/app_eks/add-ons.tf @@ -74,7 +74,7 @@ resource "aws_eks_addon" "kube_proxy" { resource "aws_eks_addon" "vpc_cni" { cluster_name = var.namespace addon_name = "vpc-cni" - addon_version = "v1.18.0-eksbuild.1" + addon_version = "v1.18.2-eksbuild.1" resolve_conflicts = "OVERWRITE" service_account_role_arn = aws_iam_role.oidc.arn } From 90511de33f35990c98d4c28513aa710a1298c930 Mon Sep 17 00:00:00 2001 From: Zachary Blasczyk <77289967+zacharyblasczyk@users.noreply.github.com> Date: Thu, 27 Jun 2024 15:05:26 -0500 Subject: [PATCH 2/2] Add Depends on. --- modules/app_eks/add-ons.tf | 3 +++ 1 file changed, 3 insertions(+) diff --git a/modules/app_eks/add-ons.tf b/modules/app_eks/add-ons.tf index 076527ee..3db67c0f 100644 --- a/modules/app_eks/add-ons.tf +++ b/modules/app_eks/add-ons.tf @@ -72,6 +72,9 @@ resource "aws_eks_addon" "kube_proxy" { } resource "aws_eks_addon" "vpc_cni" { + depends_on = [ + module.eks + ] cluster_name = var.namespace addon_name = "vpc-cni" addon_version = "v1.18.2-eksbuild.1"