Implements optional region for remaining GCE resources

This commit is contained in:
Lars Wander 2015-09-15 10:01:13 -04:00
parent 326c30e6a0
commit b06b6fe2fd
2 changed files with 3 additions and 0 deletions

View File

@ -19,6 +19,7 @@ resource "google_compute_backend_service" "foobar" {
port_name = "http"
protocol = "HTTP"
timeout_sec = 10
region = us-central1
backend {
group = "${google_compute_instance_group_manager.foo.instance_group}"
@ -67,6 +68,7 @@ The following arguments are supported:
for checking the health of the backend service.
* `description` - (Optional) The textual description for the backend service.
* `backend` - (Optional) The list of backends that serve this BackendService. See *Backend* below.
* `region` - (Optional) The region the service sits in. If not specified, the project region is used.
* `port_name` - (Optional) The name of a service that has been added to
an instance group in this backend. See [related docs](https://cloud.google.com/compute/docs/instance-groups/#specifying_service_endpoints)
for details. Defaults to http.

View File

@ -49,6 +49,7 @@ The following arguments are supported:
* `session_affinity` - (Optional) How to distribute load. Options are "NONE" (no affinity). "CLIENT\_IP" (hash of the source/dest addresses / ports), and "CLIENT\_IP\_PROTO" also includes the protocol (default "NONE").
* `region` - (Optional) Where the target pool resides. Defaults to project region.
## Attributes Reference