From 7ab2cf4469f174406ea2bb0fc25ae6fb927bc265 Mon Sep 17 00:00:00 2001 From: badra001 Date: Fri, 7 Mar 2025 14:58:04 -0500 Subject: [PATCH] fix --- common/entry_heritage.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/entry_heritage.tf b/common/entry_heritage.tf index 6e8e9aa..78ed27e 100644 --- a/common/entry_heritage.tf +++ b/common/entry_heritage.tf @@ -1,6 +1,6 @@ resource "aws_route53_record" "entry_heritage" { count = var.enable_heritage ? 1 : 0 - zone_id = var.zone_id != null ? data.aws_route53_zone.zone[0].zone_id : var.zone_id + zone_id = var.zone_id == null ? data.aws_route53_zone.zone[0].zone_id : var.zone_id name = format("%v%v", local.default_heritage_prefix, var.name) type = "TXT"