Skip to content

Commit 49b0667

Browse files
authored
fix: Fix destroy failure when talking to EKS endpoint on private network (terraform-aws-modules#815)
1 parent de1419b commit 49b0667

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

cluster.tf

+2-1
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,8 @@ resource "null_resource" "wait_for_cluster" {
6161
count = var.create_eks && var.manage_aws_auth ? 1 : 0
6262

6363
depends_on = [
64-
aws_eks_cluster.this[0]
64+
aws_eks_cluster.this[0],
65+
aws_security_group_rule.cluster_private_access,
6566
]
6667

6768
provisioner "local-exec" {

0 commit comments

Comments
 (0)