mirror of
https://github.com/google/nomulus.git
synced 2025-08-29 12:33:14 +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.
18 lines
534 B
HCL
18 lines
534 B
HCL
terraform {
|
|
backend "gcs" {
|
|
# The name of the GCS bucket that stores the terraform.tfstate file.
|
|
bucket = "YOUR_GCS_BUCKET"
|
|
prefix = "terraform/state"
|
|
}
|
|
}
|
|
|
|
module "proxy" {
|
|
source = "../../modules"
|
|
proxy_project_name = "YOUR_PROXY_PROJECT"
|
|
gcr_project_name = "YOUR_GCR_PROJECT"
|
|
proxy_domain_name = "YOUR_PROXY_DOMAIN"
|
|
proxy_certificate_bucket = "YOUR_CERTIFICATE_BUCKET"
|
|
|
|
# Uncomment to disable forwarding of whois HTTP interfaces.
|
|
# public_web_whois = 0
|
|
}
|