From 9e26fb8bdcfac6147cc02d15ba4aba76a8713eb0 Mon Sep 17 00:00:00 2001 From: Benjamin Pineau Date: Sun, 27 Nov 2016 20:12:56 +0100 Subject: [PATCH] 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). --- r/compute_backend_service.html.markdown | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/r/compute_backend_service.html.markdown b/r/compute_backend_service.html.markdown index 71a2acb4..5ce2bbde 100644 --- a/r/compute_backend_service.html.markdown +++ b/r/compute_backend_service.html.markdown @@ -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`.