From 86b668557433477e9d167fa307677b6e366ad0f5 Mon Sep 17 00:00:00 2001 From: badra001 Date: Fri, 7 Mar 2025 14:54:48 -0500 Subject: [PATCH] fix --- common/zone_forward.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/zone_forward.tf b/common/zone_forward.tf index faa0bb2..ca404d8 100644 --- a/common/zone_forward.tf +++ b/common/zone_forward.tf @@ -1,7 +1,7 @@ # if the zone grab fails here, it either doesn't exist or it is not associated with this VPC # if zone_id passed, do not try to use the zone data "aws_route53_zone" "zone" { - count = var.zone_id != null ? 1 : 0 + count = var.zone_id == null ? 1 : 0 name = local.zone private_zone = local.private_zone }