We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0ee2a20 commit ca1be31Copy full SHA for ca1be31
main.tf
@@ -15,12 +15,12 @@ locals {
15
locals {
16
route53_records = {
17
A = {
18
- name = try(coalesce(var.route53_record_name, var.name), "")
+ name = try(var.route53_record_name != null ? var.route53_record_name : var.name, "")
19
type = "A"
20
zone_id = var.route53_zone_id
21
}
22
AAAA = {
23
24
type = "AAAA"
25
26
0 commit comments