Add support for session_affinity to google_compute_region_backend_service

This commit is contained in:
Christoph Blecker 2017-01-17 16:32:58 -08:00
parent 1b977f79c2
commit 12787e985e

View File

@ -20,6 +20,7 @@ resource "google_compute_region_backend_service" "foobar" {
description = "Hello World 1234"
protocol = "TCP"
timeout_sec = 10
session_affinity = "CLIENT_IP"
backend {
group = "${google_compute_instance_group_manager.foo.instance_group}"
@ -84,6 +85,10 @@ The following arguments are supported:
* `protocol` - (Optional) The protocol for incoming requests. Defaults to
`HTTP`.
* `session_affinity` - (Optional) How to distribute load. Options are `NONE` (no
affinity), `CLIENT_IP`, `CLIENT_IP_PROTO`, or `CLIENT_IP_PORT_PROTO`.
Defaults to `NONE`.
* `region` - (Optional) The Region in which the created address should reside.
If it is not provided, the provider region is used.