From a996b967080dc3203f3505e75548795ed7fc9c2f Mon Sep 17 00:00:00 2001 From: "Thierno IB. BARRY" Date: Wed, 6 May 2020 21:11:38 +0200 Subject: [PATCH] put back count on null_data_source --- node_groups.tf | 2 ++ 1 file changed, 2 insertions(+) diff --git a/node_groups.tf b/node_groups.tf index 09d0d0e17a1..8ead35b89ea 100644 --- a/node_groups.tf +++ b/node_groups.tf @@ -1,6 +1,8 @@ # Hack to ensure ordering of resource creation. Do not create node_groups # before other resources are ready. Removes race conditions data "null_data_source" "node_groups" { + count = var.create_eks ? 1 : 0 + inputs = { cluster_name = coalescelist(aws_eks_cluster.this[*].name, [""])[0]