From c1e6d91337d86e842dbad23fc5a0cebd4e8837d7 Mon Sep 17 00:00:00 2001 From: Marcin Kaciuba Date: Fri, 8 Dec 2023 13:14:55 +0100 Subject: [PATCH] chore: fix example for EKS and rebalancing job (#252) * chore: fix example * chore: format --- examples/eks/eks_cluster_autoscaler_policies/castai.tf | 1 + 1 file changed, 1 insertion(+) diff --git a/examples/eks/eks_cluster_autoscaler_policies/castai.tf b/examples/eks/eks_cluster_autoscaler_policies/castai.tf index e8fde652..665bf2e7 100644 --- a/examples/eks/eks_cluster_autoscaler_policies/castai.tf +++ b/examples/eks/eks_cluster_autoscaler_policies/castai.tf @@ -230,4 +230,5 @@ resource "castai_rebalancing_job" "spots" { cluster_id = castai_eks_clusterid.cluster_id.id rebalancing_schedule_id = castai_rebalancing_schedule.spots.id enabled = true + depends_on = [module.castai-eks-cluster] }