Skip to content

Commit

Permalink
fix: apply clean with no changes
Browse files Browse the repository at this point in the history
Otherwise it gets stuck forever waiting for a cluster that isn't there
to respond.
  • Loading branch information
dpiddock committed Mar 17, 2020
1 parent 8fd462a commit 40e6745
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cluster.tf
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ resource "aws_eks_cluster" "this" {
}

resource "null_resource" "wait_for_cluster" {
count = var.manage_aws_auth ? 1 : 0
count = var.create_eks && var.manage_aws_auth ? 1 : 0

depends_on = [
aws_eks_cluster.this[0]
Expand Down

0 comments on commit 40e6745

Please sign in to comment.