provider/google: allow session affinity for compute_backend_service

Google's Backend Services gives users control over the session affinity modes.
Let's allow Terraform users to leverage this option.
We don't change the default value ("NONE", as provided by Google).
This commit is contained in:
Benjamin Pineau 2016-11-27 20:12:56 +01:00
parent 771181a189
commit 9e26fb8bdc

View File

@ -89,6 +89,10 @@ The following arguments are supported:
* `region` - (Optional) The Region in which the created address should reside.
If it is not provided, the provider region is used.
* `session_affinity` - (Optional) How to distribute load. Options are "NONE" (no
affinity), "CLIENT\_IP" (hash of the source/dest addresses / ports), and
"GENERATED\_COOKIE" (distribute load using a generated session cookie).
* `timeout_sec` - (Optional) The number of secs to wait for a backend to respond
to a request before considering the request failed. Defaults to `30`.