Remove auto_healing_policies from tests (#2557)

<!-- This change is generated by MagicModules. -->
/cc @danawillow
This commit is contained in:
The Magician 2018-12-04 17:16:29 -08:00 committed by Nathan McKinley
parent c2a3160903
commit 5492b0100e
2 changed files with 1 additions and 31 deletions

View File

@ -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)
}

View File

@ -672,10 +672,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" {
@ -888,10 +884,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" {
@ -946,10 +938,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" {