From ea007d28bc7c3ac33742d53c8e79f0c668db13b3 Mon Sep 17 00:00:00 2001 From: badra001 Date: Mon, 10 Mar 2025 09:51:39 -0400 Subject: [PATCH] fix entry.tf zone_id --- CHANGELOG.md | 3 +++ common/entry.tf | 2 +- common/version.tf | 2 +- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index b8f1ad6..749255e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -21,3 +21,6 @@ * 1.2.0 -- 2025-03-07 - create heritage submodule + +* 1.2.1 -- 2025-03-10 + - fix entry.tf zone_id diff --git a/common/entry.tf b/common/entry.tf index 75bf973..8339869 100644 --- a/common/entry.tf +++ b/common/entry.tf @@ -1,5 +1,5 @@ resource "aws_route53_record" "entry" { - 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 = var.name type = local.rr_type ttl = var.ttl diff --git a/common/version.tf b/common/version.tf index 1ee6619..54b3493 100644 --- a/common/version.tf +++ b/common/version.tf @@ -1,3 +1,3 @@ locals { - _module_version = "1.2.0" + _module_version = "1.2.1" }