diff --git a/common/common.tf b/common/common.tf index e61c5f4..f225c95 100644 --- a/common/common.tf +++ b/common/common.tf @@ -14,7 +14,7 @@ locals { host_name = var.name_parts[0] zone = trimprefix(var.name, format("%v.", local.host_name)) private_zone = local.account_environment == "gov" ? true : var.private_zone - rr_type = uppercase(local.record_type) + rr_type = upper(local.record_type) default_enable_ptr = lookup(local._defaults.enable_ptr, local.record_type, false) default_heritage_prefix = lookup(local._defaults.heritage_prefix, local.record_type, "") != "" ? format("%v.", lookup(local._defaults.heritage_prefix, local.record_type)) : "" values = type(var.values) == "string" ? [var.values] : var.values