mirror of
https://github.com/ysoftdevs/terraform-aws-eks.git
synced 2026-03-17 23:13:46 +01:00
fix: Create false and avoid waiting forever for a non-existent cluster to respond (#789)
This commit is contained in:
@@ -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]
|
||||
|
||||
Reference in New Issue
Block a user