From 49b0667cd91e15f7c98dba67ad7e5aa5a6f54b5d Mon Sep 17 00:00:00 2001 From: "Sam \"Bo\" Beckwith III" Date: Tue, 24 Mar 2020 17:19:41 -0500 Subject: [PATCH] fix: Fix destroy failure when talking to EKS endpoint on private network (#815) --- cluster.tf | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cluster.tf b/cluster.tf index b3897c2..55a1747 100644 --- a/cluster.tf +++ b/cluster.tf @@ -61,7 +61,8 @@ resource "null_resource" "wait_for_cluster" { count = var.create_eks && var.manage_aws_auth ? 1 : 0 depends_on = [ - aws_eks_cluster.this[0] + aws_eks_cluster.this[0], + aws_security_group_rule.cluster_private_access, ] provisioner "local-exec" {