diff --git a/google/resource_compute_backend_service.go b/google/resource_compute_backend_service.go index 0412764b..22777e0d 100644 --- a/google/resource_compute_backend_service.go +++ b/google/resource_compute_backend_service.go @@ -296,7 +296,8 @@ func resourceComputeBackendService() *schema.Resource { "load_balancing_scheme": { Type: schema.TypeString, Optional: true, - ValidateFunc: validation.StringInSlice([]string{"INTERNAL", "EXTERNAL", ""}, false), + ForceNew: true, + ValidateFunc: validation.StringInSlice([]string{"EXTERNAL", ""}, false), Default: "EXTERNAL", }, "port_name": { @@ -319,7 +320,7 @@ func resourceComputeBackendService() *schema.Resource { Type: schema.TypeString, Computed: true, Optional: true, - ValidateFunc: validation.StringInSlice([]string{"NONE", "CLIENT_IP", "GENERATED_COOKIE", "CLIENT_IP_PROTO", "CLIENT_IP_PORT_PROTO", ""}, false), + ValidateFunc: validation.StringInSlice([]string{"NONE", "CLIENT_IP", "GENERATED_COOKIE", ""}, false), }, "timeout_sec": { Type: schema.TypeInt, diff --git a/website/docs/r/compute_backend_service.html.markdown b/website/docs/r/compute_backend_service.html.markdown index 0ea43993..de57157f 100644 --- a/website/docs/r/compute_backend_service.html.markdown +++ b/website/docs/r/compute_backend_service.html.markdown @@ -16,16 +16,23 @@ layout: "google" page_title: "Google: google_compute_backend_service" sidebar_current: "docs-google-compute-backend-service" description: |- - Creates a BackendService resource in the specified project using the data - included in the request. + A Backend Service defines a group of virtual machines that will serve + traffic for load balancing. --- # google\_compute\_backend\_service -Creates a BackendService resource in the specified project using the data -included in the request. +A Backend Service defines a group of virtual machines that will serve +traffic for load balancing. This resource is a global backend service, +appropriate for external load balancing. For internal load balancing, use +a regional backend service instead. +To get more information about BackendService, see: + +* [API documentation](https://cloud.google.com/compute/docs/reference/v1/backendServices) +* How-to Guides + * [Official Documentation](https://cloud.google.com/compute/docs/load-balancing/http/backend-service)