diff --git a/CHANGELOG.md b/CHANGELOG.md index 2ae25db..cdefb17 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,6 @@ +# 0.4.4 (Dec 30, 2024) +* Removed trailing `.` from `outputs.name`. + # 0.4.3 (Dec 14, 2024) * Removed enabling of certificate manager service, it is now done in the cert module. diff --git a/subdomain.tf b/subdomain.tf index 2533b0e..45e7c0d 100644 --- a/subdomain.tf +++ b/subdomain.tf @@ -23,7 +23,7 @@ locals { // Format: projects/{{project}}/managedZones/{{name}} subdomain_zone_id = regex("^projects/[^/]+/managedZones/([^/]+)$", google_dns_managed_zone.this.id)[0] - subdomain_name = google_dns_managed_zone.this.dns_name + subdomain_name = trimsuffix(google_dns_managed_zone.this.dns_name, ".") subdomain_nameservers = [for ns in google_dns_managed_zone.this.name_servers : trimsuffix(ns, ".")] }