From 3249d3da9664ae7077f69ba4c2b2caafeb64a8f0 Mon Sep 17 00:00:00 2001 From: Dana Hoffman Date: Tue, 4 Dec 2018 17:24:18 -0800 Subject: [PATCH] [Terraform] remove auto_healing_policies from tests (#979) Merged PR #979. --- build/inspec | 2 +- build/terraform | 2 +- build/terraform-beta | 2 +- ...ogle_compute_region_instance_group_test.go | 20 +------------------ ...source_compute_backend_service_test.go.erb | 12 ----------- 5 files changed, 4 insertions(+), 34 deletions(-) diff --git a/build/inspec b/build/inspec index 7c21d35e75d7..1bcd66a8c380 160000 --- a/build/inspec +++ b/build/inspec @@ -1 +1 @@ -Subproject commit 7c21d35e75d7d51d663736a9f8f9bb5185bca937 +Subproject commit 1bcd66a8c3808fa0d19d916968250649f0a7f8eb diff --git a/build/terraform b/build/terraform index 3f0ade1aee99..300821aabaf3 160000 --- a/build/terraform +++ b/build/terraform @@ -1 +1 @@ -Subproject commit 3f0ade1aee991750ec8dd54555248224575cd1b4 +Subproject commit 300821aabaf3f8597b89a475e0b0cf440118d82b diff --git a/build/terraform-beta b/build/terraform-beta index 45f9b081972d..cc7e0b6d441f 160000 --- a/build/terraform-beta +++ b/build/terraform-beta @@ -1 +1 @@ -Subproject commit 45f9b081972d48db3b2132e56cdb6d80ea7d4fad +Subproject commit cc7e0b6d441f0fb74152d30fc1793652fe0a8047 diff --git a/third_party/terraform/tests/data_source_google_compute_region_instance_group_test.go b/third_party/terraform/tests/data_source_google_compute_region_instance_group_test.go index e72824673347..cc75583177c2 100644 --- a/third_party/terraform/tests/data_source_google_compute_region_instance_group_test.go +++ b/third_party/terraform/tests/data_source_google_compute_region_instance_group_test.go @@ -28,19 +28,6 @@ func TestAccDataSourceRegionInstanceGroup(t *testing.T) { func testAccDataSourceRegionInstanceGroup_basic(instanceManagerName string) string { return fmt.Sprintf(` -resource "google_compute_health_check" "autohealing" { - name = "%s" - check_interval_sec = 1 - timeout_sec = 1 - healthy_threshold = 2 - unhealthy_threshold = 10 - - http_health_check { - request_path = "/" - port = "80" - } -} - resource "google_compute_target_pool" "foo" { name = "%s" } @@ -75,15 +62,10 @@ resource "google_compute_region_instance_group_manager" "foo" { port = 80 } wait_for_instances = true - - auto_healing_policies { - health_check = "${google_compute_health_check.autohealing.self_link}" - initial_delay_sec = 10 - } } data "google_compute_region_instance_group" "data_source" { self_link = "${google_compute_region_instance_group_manager.foo.instance_group}" } -`, acctest.RandomWithPrefix("test-rigm-"), acctest.RandomWithPrefix("test-rigm-"), instanceManagerName) +`, acctest.RandomWithPrefix("test-rigm-"), instanceManagerName) } diff --git a/third_party/terraform/tests/resource_compute_backend_service_test.go.erb b/third_party/terraform/tests/resource_compute_backend_service_test.go.erb index 120df5c297dd..fd2a3414a3d7 100644 --- a/third_party/terraform/tests/resource_compute_backend_service_test.go.erb +++ b/third_party/terraform/tests/resource_compute_backend_service_test.go.erb @@ -713,10 +713,6 @@ resource "google_compute_instance_group_manager" "foobar" { base_instance_name = "foobar" zone = "us-central1-f" target_size = 1 - auto_healing_policies { - health_check = "${google_compute_http_health_check.default.self_link}" - initial_delay_sec = "10" - } } resource "google_compute_instance_template" "foobar" { @@ -943,10 +939,6 @@ resource "google_compute_instance_group_manager" "foobar" { base_instance_name = "foobar" zone = "us-central1-f" target_size = 1 - auto_healing_policies { - health_check = "${google_compute_health_check.default.self_link}" - initial_delay_sec = "10" - } } resource "google_compute_instance_template" "foobar" { @@ -1008,10 +1000,6 @@ resource "google_compute_instance_group_manager" "foobar" { base_instance_name = "foobar" zone = "us-central1-f" target_size = 1 - auto_healing_policies { - health_check = "${google_compute_health_check.default.self_link}" - initial_delay_sec = "10" - } } resource "google_compute_instance_template" "foobar" {