mirror of
https://github.com/google/nomulus.git
synced 2025-04-29 19:47:51 +02:00
* Update terraform files and instructions Update proxy terraform files based on current best practices and allow exclusion of forwarding rules for HTTP endpoints. Specifically: - Add a "public_web_whois" input to allow disabling the public HTTP whois forwarding. - Add "description" fields to all variables. - Move outputs of the top-level module into "outputs.tf". - Auto-reformat using hclfmt.
23 lines
883 B
HCL
23 lines
883 B
HCL
resource "google_dns_managed_zone" "proxy_domain" {
|
|
name = "proxy-domain"
|
|
dns_name = "${var.proxy_domain_name}."
|
|
}
|
|
|
|
module "proxy_networking" {
|
|
source = "./networking"
|
|
proxy_instance_groups = local.proxy_instance_groups
|
|
proxy_ports = var.proxy_ports
|
|
proxy_domain = google_dns_managed_zone.proxy_domain.name
|
|
proxy_domain_name = google_dns_managed_zone.proxy_domain.dns_name
|
|
public_web_whois = var.public_web_whois
|
|
}
|
|
|
|
module "proxy_networking_canary" {
|
|
source = "./networking"
|
|
proxy_instance_groups = local.proxy_instance_groups
|
|
suffix = "-canary"
|
|
proxy_ports = var.proxy_ports_canary
|
|
proxy_domain = google_dns_managed_zone.proxy_domain.name
|
|
proxy_domain_name = google_dns_managed_zone.proxy_domain.dns_name
|
|
public_web_whois = var.public_web_whois
|
|
}
|