Skip to content

Commit

Permalink
* 1.2.2 -- 2025-06-10
Browse files Browse the repository at this point in the history
  - host: fix entry.tf zone_id
  • Loading branch information
badra001 committed Jun 10, 2025
1 parent ea007d2 commit b755258
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,6 @@

* 1.2.1 -- 2025-03-10
- fix entry.tf zone_id

* 1.2.2 -- 2025-06-10
- host: fix entry.tf zone_id
2 changes: 1 addition & 1 deletion common/version.tf
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
locals {
_module_version = "1.2.1"
_module_version = "1.2.2"
}
4 changes: 2 additions & 2 deletions host/entry.tf
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
resource "aws_route53_record" "entry_ipv4" {
count = length(local.ipv4_hosts) > 0 ? 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 = var.name
type = "A"
ttl = var.ttl
Expand All @@ -9,7 +9,7 @@ resource "aws_route53_record" "entry_ipv4" {

resource "aws_route53_record" "entry_ipv6" {
count = length(local.ipv6_hosts) > 0 ? 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 = var.name
type = "AAAA"
ttl = var.ttl
Expand Down

0 comments on commit b755258

Please sign in to comment.