mirror of
https://github.com/letic/terraform-provider-google.git
synced 2024-10-04 17:51:11 +00:00
wait for instances in deleteDetachIGM test (#2759)
This commit is contained in:
parent
7e829e0b10
commit
d65a35062a
@ -748,5 +748,9 @@ resource "google_compute_instance_group_manager" "manager" {
|
|||||||
instance_template = "${google_compute_instance_template.template.self_link}"
|
instance_template = "${google_compute_instance_template.template.self_link}"
|
||||||
zone = "us-central1-a"
|
zone = "us-central1-a"
|
||||||
target_size = 1
|
target_size = 1
|
||||||
|
|
||||||
|
// block on instances being ready so that when they get deleted, we don't try
|
||||||
|
// to continue interacting with them in other resources
|
||||||
|
wait_for_instances = true
|
||||||
}`, diskName, mgrName)
|
}`, diskName, mgrName)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user