From 7de1c8256a6e6b19091bc6b352a1ca62df9c531c Mon Sep 17 00:00:00 2001 From: Modular Magician Date: Fri, 11 Sep 2020 22:16:29 +0000 Subject: [PATCH] Added support GRPC for google_compute_(region)_backend_service.protocol (#3973) Co-authored-by: Edward Sun Signed-off-by: Modular Magician --- plugins/modules/gcp_compute_backend_service.py | 2 +- plugins/modules/gcp_compute_region_backend_service.py | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/plugins/modules/gcp_compute_backend_service.py b/plugins/modules/gcp_compute_backend_service.py index 8325a3bd1..a6e0fcf6d 100644 --- a/plugins/modules/gcp_compute_backend_service.py +++ b/plugins/modules/gcp_compute_backend_service.py @@ -572,7 +572,7 @@ - The protocol this BackendService uses to communicate with backends. - 'The default is HTTP. **NOTE**: HTTP2 is only valid for beta HTTP/2 load balancer types and may result in errors if used with the GA API.' - - 'Some valid choices include: "HTTP", "HTTPS", "HTTP2", "TCP", "SSL"' + - 'Some valid choices include: "HTTP", "HTTPS", "HTTP2", "TCP", "SSL", "GRPC"' required: false type: str security_policy: diff --git a/plugins/modules/gcp_compute_region_backend_service.py b/plugins/modules/gcp_compute_region_backend_service.py index e19bbfb94..cc26246c8 100644 --- a/plugins/modules/gcp_compute_region_backend_service.py +++ b/plugins/modules/gcp_compute_region_backend_service.py @@ -528,7 +528,8 @@ - The protocol this RegionBackendService uses to communicate with backends. - 'The default is HTTP. **NOTE**: HTTP2 is only valid for beta HTTP/2 load balancer types and may result in errors if used with the GA API.' - - 'Some valid choices include: "HTTP", "HTTPS", "HTTP2", "SSL", "TCP", "UDP"' + - 'Some valid choices include: "HTTP", "HTTPS", "HTTP2", "SSL", "TCP", "UDP", + "GRPC"' required: false type: str session_affinity: