From 608e786121c8ea9a262bb2420e4c66405961c2f7 Mon Sep 17 00:00:00 2001 From: Sam Levenick Date: Fri, 24 Jul 2020 13:19:39 -0700 Subject: [PATCH] PR feedback --- products/compute/api.yaml | 2 +- .../examples/backend_service_network_endpoint.tf.erb | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/products/compute/api.yaml b/products/compute/api.yaml index fb60018c5979..8e813799d713 100644 --- a/products/compute/api.yaml +++ b/products/compute/api.yaml @@ -781,7 +781,7 @@ objects: name: 'maxUtilization' description: | Used when balancingMode is UTILIZATION. This ratio defines the - CPU utilization target for the group. The default is 0.8. Valid + CPU utilization target for the group. Valid range is [0.0, 1.0]. - !ruby/object:Api::Type::NestedObject name: 'circuitBreakers' diff --git a/templates/terraform/examples/backend_service_network_endpoint.tf.erb b/templates/terraform/examples/backend_service_network_endpoint.tf.erb index 843d5e74d592..94d12c68d52f 100644 --- a/templates/terraform/examples/backend_service_network_endpoint.tf.erb +++ b/templates/terraform/examples/backend_service_network_endpoint.tf.erb @@ -5,7 +5,7 @@ resource "google_compute_global_network_endpoint_group" "external_proxy" { } resource "google_compute_global_network_endpoint" "proxy" { - global_network_endpoint_group = google_compute_global_network_endpoint_group.external_proxy.name + global_network_endpoint_group = google_compute_global_network_endpoint_group.external_proxy.id fqdn = "test.example.com" port = google_compute_global_network_endpoint_group.external_proxy.default_port } @@ -19,6 +19,6 @@ resource "google_compute_backend_service" "<%= ctx[:primary_resource_id] %>" { custom_request_headers = ["host: ${google_compute_global_network_endpoint.proxy.fqdn}"] backend { - group = google_compute_global_network_endpoint_group.external_proxy.self_link + group = google_compute_global_network_endpoint_group.external_proxy.id } } \ No newline at end of file