mirror of
https://github.com/google/nomulus.git
synced 2025-08-01 07:26:29 +02:00
Update terraform files and instructions (#1402)
* 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.
This commit is contained in:
parent
77bc072aac
commit
cecc1a6cc7
7 changed files with 91 additions and 49 deletions
|
@ -1,11 +1,6 @@
|
|||
resource "google_dns_managed_zone" "proxy_domain" {
|
||||
name = "proxy-domain"
|
||||
dns_name = "${var.proxy_domain_name}."
|
||||
|
||||
# This is a safeguard for the google provider update to 2.8.0.
|
||||
# cl/264641943
|
||||
# If you like, you can remove this line after the update.
|
||||
lifecycle { prevent_destroy = true }
|
||||
}
|
||||
|
||||
module "proxy_networking" {
|
||||
|
@ -14,6 +9,7 @@ module "proxy_networking" {
|
|||
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" {
|
||||
|
@ -23,4 +19,5 @@ module "proxy_networking_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
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue