From de8a98ff5b4519e1376eecd51c6266ca6159f4c0 Mon Sep 17 00:00:00 2001 From: Marcin Kaciuba Date: Thu, 7 Dec 2023 13:24:14 +0100 Subject: [PATCH 1/2] chore: fix example --- 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 a5b3764d..b72e4dfa 100644 --- a/examples/eks/eks_cluster_autoscaler_policies/castai.tf +++ b/examples/eks/eks_cluster_autoscaler_policies/castai.tf @@ -229,4 +229,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] } From 0aa6b77eb33e9b38aac259b2d109d07f08b534b5 Mon Sep 17 00:00:00 2001 From: Marcin Kaciuba Date: Thu, 7 Dec 2023 13:35:32 +0100 Subject: [PATCH 2/2] chore: format --- examples/eks/eks_cluster_autoscaler_policies/castai.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/eks/eks_cluster_autoscaler_policies/castai.tf b/examples/eks/eks_cluster_autoscaler_policies/castai.tf index b72e4dfa..b5b0e136 100644 --- a/examples/eks/eks_cluster_autoscaler_policies/castai.tf +++ b/examples/eks/eks_cluster_autoscaler_policies/castai.tf @@ -229,5 +229,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] + depends_on = [module.castai-eks-cluster] }