fix: Use splat syntax to avoid errors during destroy with an empty state (#1041)

This commit is contained in:
Thierno IB. BARRY
2020-10-12 21:59:29 +02:00
committed by GitHub
parent c75fbb0164
commit d97edde9cd
5 changed files with 19 additions and 21 deletions

View File

@@ -64,7 +64,7 @@ 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,
aws_security_group_rule.cluster_private_access,
]