From 5d56af48a3203cd51dbfd3de855249d0beb0ca8e Mon Sep 17 00:00:00 2001 From: Gerard Toonstra Date: Wed, 27 Aug 2025 14:33:44 +0200 Subject: [PATCH] fix: Fix deployment order for addons --- modules/eks/main.tf | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/modules/eks/main.tf b/modules/eks/main.tf index c33907e..5167c63 100644 --- a/modules/eks/main.tf +++ b/modules/eks/main.tf @@ -60,13 +60,16 @@ module "eks" { addons = { coredns = { - most_recent = true + most_recent = true + before_compute = true }, kube-proxy = { - most_recent = true + most_recent = true + before_compute = true }, vpc-cni = { - most_recent = true + most_recent = true + before_compute = true configuration_values = jsonencode({ enableNetworkPolicy : "true", @@ -75,6 +78,7 @@ module "eks" { aws-ebs-csi-driver = { service_account_role_arn = "arn:aws:iam::${data.aws_caller_identity.current.account_id}:role/${var.deployment_name}-ebs-csi-controller" most_recent = true + before_compute = true configuration_values = jsonencode({ "sidecars": { "snapshotter": {