Switch to not including trailing period in root domain.
This commit is contained in:
@@ -1,7 +1,5 @@
|
||||
# TODO: Switch to not requiring trailing period?
|
||||
|
||||
variable "dns_root" {
|
||||
description = "DNS domain root with trailing period. Example: \"foo.bar.com.\""
|
||||
description = "DNS domain root. Example: \"k8sdemo.mydomain.example\""
|
||||
type = string
|
||||
}
|
||||
|
||||
@@ -9,7 +7,7 @@ variable "dns_root" {
|
||||
resource "google_dns_managed_zone" "zone" {
|
||||
project = google_project.project.project_id
|
||||
name = "dns-zone"
|
||||
dns_name = var.dns_root
|
||||
dns_name = "${var.dns_root}."
|
||||
|
||||
depends_on = [google_project_service.service["dns"], ]
|
||||
}
|
||||
|
||||
@@ -21,7 +21,7 @@ locals {
|
||||
# }
|
||||
|
||||
# resource "google_cloud_quotas_quota_preference" "public_ip_per_project_region" {
|
||||
# count = var.quota_email == null ? 0 : 1
|
||||
# count = var.quota_email == null && var.public_ingress == true ? 0 : 1
|
||||
# parent = "projects/${google_project.project.project_id}"
|
||||
# name = "compute-IN-USE-ADDRESSES-per-project-region"
|
||||
# dimensions = { region = var.region }
|
||||
|
||||
Reference in New Issue
Block a user