From bde8bce597a50889fcf292b0050d79effbb03856 Mon Sep 17 00:00:00 2001 From: Dana Hoffman Date: Fri, 9 Oct 2020 11:35:57 -0700 Subject: [PATCH] send empty value for [region]healthcheck description --- products/compute/api.yaml | 2 ++ .../terraform/tests/resource_compute_health_check_test.go | 1 - .../tests/resource_compute_region_health_check_test.go.erb | 1 - 3 files changed, 2 insertions(+), 2 deletions(-) diff --git a/products/compute/api.yaml b/products/compute/api.yaml index 2e0b590acf9d..1080856fa6d4 100644 --- a/products/compute/api.yaml +++ b/products/compute/api.yaml @@ -4146,6 +4146,7 @@ objects: description: | An optional description of this resource. Provide this property when you create the resource. + send_empty_value: true - !ruby/object:Api::Type::Integer name: 'healthyThreshold' description: | @@ -11070,6 +11071,7 @@ objects: description: | An optional description of this resource. Provide this property when you create the resource. + send_empty_value: true - !ruby/object:Api::Type::Integer name: 'healthyThreshold' description: | diff --git a/third_party/terraform/tests/resource_compute_health_check_test.go b/third_party/terraform/tests/resource_compute_health_check_test.go index 2faf94078680..30e19178ed9a 100644 --- a/third_party/terraform/tests/resource_compute_health_check_test.go +++ b/third_party/terraform/tests/resource_compute_health_check_test.go @@ -175,7 +175,6 @@ func testAccComputeHealthCheck_tcp_update(hckName string) string { return fmt.Sprintf(` resource "google_compute_health_check" "foobar" { check_interval_sec = 3 - description = "Resource updated for Terraform acceptance testing" healthy_threshold = 10 name = "health-test-%s" timeout_sec = 2 diff --git a/third_party/terraform/tests/resource_compute_region_health_check_test.go.erb b/third_party/terraform/tests/resource_compute_region_health_check_test.go.erb index 901b15d3ead2..a396c54c1b22 100644 --- a/third_party/terraform/tests/resource_compute_region_health_check_test.go.erb +++ b/third_party/terraform/tests/resource_compute_region_health_check_test.go.erb @@ -183,7 +183,6 @@ func testAccComputeRegionHealthCheck_tcp_update(hckName string) string { return fmt.Sprintf(` resource "google_compute_region_health_check" "foobar" { check_interval_sec = 3 - description = "Resource updated for Terraform acceptance testing" healthy_threshold = 10 name = "health-test-%s" timeout_sec = 2