google-nomulus/proxy/terraform/example_config.tf
Lai Jiang de02996f00 No-op: Use nicer HCL2 syntax. (#384)
Generated with perl -pi -e 's/\"\$\{([a-zA-Z0-9._-]*)\}\"/$1/g' $(find ./ -name '*.tf')

Copied from cl/282012376.
2019-11-22 16:08:56 -05:00

31 lines
749 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 = "YOU_CERTIFICATE_BUCKET"
}
output "proxy_service_account" {
value = module.proxy.proxy_service_account
}
output "proxy_name_servers" {
value = module.proxy.proxy_name_servers
}
output "proxy_instance_groups" {
value = module.proxy.proxy_instance_groups
}
output "proxy_ip_addresses" {
value = module.proxy.proxy_ip_addresses
}