mirror of
https://github.com/letic/terraform-provider-google.git
synced 2024-10-01 16:21:06 +00:00
Implements optional region for remaining GCE resources
This commit is contained in:
parent
326c30e6a0
commit
b06b6fe2fd
@ -19,6 +19,7 @@ resource "google_compute_backend_service" "foobar" {
|
|||||||
port_name = "http"
|
port_name = "http"
|
||||||
protocol = "HTTP"
|
protocol = "HTTP"
|
||||||
timeout_sec = 10
|
timeout_sec = 10
|
||||||
|
region = us-central1
|
||||||
|
|
||||||
backend {
|
backend {
|
||||||
group = "${google_compute_instance_group_manager.foo.instance_group}"
|
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.
|
for checking the health of the backend service.
|
||||||
* `description` - (Optional) The textual description for 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.
|
* `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
|
* `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)
|
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.
|
for details. Defaults to http.
|
||||||
|
@ -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").
|
* `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
|
## Attributes Reference
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user