mirror of
https://github.com/google/nomulus.git
synced 2025-08-20 00:14:07 +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.
32 lines
844 B
HCL
32 lines
844 B
HCL
variable "proxy_instance_groups" {
|
|
type = map
|
|
description = "Instance groups that the load balancer forwards traffic to."
|
|
}
|
|
|
|
variable "suffix" {
|
|
default = ""
|
|
description = "Suffix (such as '-canary') added to the resource names."
|
|
}
|
|
|
|
variable "proxy_ports" {
|
|
type = map
|
|
description = "Node ports exposed by the proxy."
|
|
}
|
|
|
|
variable "proxy_domain" {
|
|
description = "DNS zone for the proxy domain."
|
|
}
|
|
|
|
variable "proxy_domain_name" {
|
|
description = "Domain name of the zone."
|
|
}
|
|
|
|
variable "public_web_whois" {
|
|
type = number
|
|
description = <<EOF
|
|
Set to 1 if the whois HTTP ports are external, 0 if not. This is necessary
|
|
because our test projects are configured with
|
|
constraints/compute.restrictLoadBalancerCreationForTypes, which prohibits
|
|
forwarding external HTTP(s) connections.
|
|
EOF
|
|
}
|