Skip to content

Commit

Permalink
fix: Fix destroy failure when talking to EKS endpoint on private netw…
Browse files Browse the repository at this point in the history
…ork (#815)
  • Loading branch information
b2cbre authored Mar 24, 2020
1 parent de1419b commit 49b0667
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cluster.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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" {
Expand Down

0 comments on commit 49b0667

Please sign in to comment.