Skip to content

Commit

Permalink
put back count on null_data_source
Browse files Browse the repository at this point in the history
  • Loading branch information
barryib committed May 6, 2020
1 parent d07fbb9 commit a996b96
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions node_groups.tf
Original file line number Diff line number Diff line change
@@ -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]

Expand Down

0 comments on commit a996b96

Please sign in to comment.