Skip to content

Commit eea622a

Browse files
committedJun 21, 2024
Fix alias record bug
1 parent 9f42234 commit eea622a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed
 

‎VERSION

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0.15.3
1+
0.15.4

‎modules/record-set/main.tf

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ resource "aws_route53_record" "this" {
2525
zone_id = var.zone
2626
name = var.name
2727
type = var.type
28-
ttl = var.ttl
28+
ttl = each.value.alias != null ? null : var.ttl
2929
allow_overwrite = var.overwrite
3030

3131
set_identifier = (var.routing_policy == "SIMPLE"

0 commit comments

Comments
 (0)