Skip to content

Commit

Permalink
Removed trailing . from outputs.name.
Browse files Browse the repository at this point in the history
  • Loading branch information
BSick7 committed Dec 30, 2024
1 parent 4529b04 commit eef5898
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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.

Expand Down
2 changes: 1 addition & 1 deletion subdomain.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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, ".")]
}

Expand Down

0 comments on commit eef5898

Please sign in to comment.