Skip to content

Commit 7c0e179

Browse files
authored
Merge branch 'master' into feat/cross-account
2 parents 077eb12 + 429d96d commit 7c0e179

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,13 @@
22

33
All notable changes to this project will be documented in this file.
44

5+
## [6.0.2](https://github.com/terraform-aws-modules/terraform-aws-route53/compare/v6.0.1...v6.0.2) (2025-09-25)
6+
7+
8+
### Bug Fixes
9+
10+
* Catch error and fall back when `records.name` is not provided ([#127](https://github.com/terraform-aws-modules/terraform-aws-route53/issues/127)) ([6391f1b](https://github.com/terraform-aws-modules/terraform-aws-route53/commit/6391f1b7c44c4e854f31c776b78868d5194c668b))
11+
512
## [6.0.1](https://github.com/terraform-aws-modules/terraform-aws-route53/compare/v6.0.0...v6.0.1) (2025-09-23)
613

714

main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ resource "aws_route53_record" "this" {
211211
}
212212

213213
multivalue_answer_routing_policy = each.value.multivalue_answer_routing_policy
214-
name = coalesce(each.value.full_name, "${each.value.name}.${local.zone_name}", "${each.key}.${local.zone_name}")
214+
name = coalesce(each.value.full_name, try("${each.value.name}.${local.zone_name}", "${each.key}.${local.zone_name}"))
215215
records = each.value.records
216216
set_identifier = each.value.set_identifier
217217
ttl = each.value.ttl

0 commit comments

Comments
 (0)