Merge pull request #1734 from terraform-providers/paddy_regional_backend_docs

Clarify regional backend service docs.
This commit is contained in:
Paddy 2018-07-06 06:30:04 -07:00 committed by GitHub
commit 6b02e9ccd9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -12,6 +12,9 @@ A Region Backend Service defines a regionally-scoped group of virtual machines t
For more information see [the official documentation](https://cloud.google.com/compute/docs/load-balancing/internal/)
and [API](https://cloud.google.com/compute/docs/reference/latest/regionBackendServices).
~> **Note**: Region backend services can only be used when using internal load balancing. For external load balancing, use
[`google_compute_backend_service`](compute_backend_service.html) instead.
## Example Usage
```hcl
@ -84,7 +87,7 @@ The following arguments are supported:
is not provided, the provider project is used.
* `protocol` - (Optional) The protocol for incoming requests. Defaults to
`HTTP`.
`TCP`.
* `session_affinity` - (Optional) How to distribute load. Options are `NONE` (no
affinity), `CLIENT_IP`, `CLIENT_IP_PROTO`, or `CLIENT_IP_PORT_PROTO`.