File tree 1 file changed +3
-8
lines changed
mmv1/third_party/terraform/services/storage
1 file changed +3
-8
lines changed Original file line number Diff line number Diff line change @@ -53,20 +53,15 @@ func TestAccStorageAnywhereCache_update(t *testing.T) {
53
53
func testAccStorageAnywhereCache_full (context map [string ]interface {}) string {
54
54
return acctest .Nprintf (`
55
55
resource "google_storage_bucket" "bucket" {
56
- name = "tf-test-bucket-name%{random_suffix}"
57
- location = "US"
58
- }
59
-
60
- resource "time_sleep" "destroy_wait_5000_seconds" {
61
- depends_on = [google_storage_bucket.bucket]
62
- destroy_duration = "5000s"
56
+ name = "tf-test-bucket-name%{random_suffix}"
57
+ location = "US"
58
+ force_destroy = "true"
63
59
}
64
60
65
61
resource "google_storage_anywhere_cache" "cache" {
66
62
bucket = google_storage_bucket.bucket.name
67
63
zone = "us-central1-f"
68
64
ttl = "3601s"
69
- depends_on = [time_sleep.destroy_wait_5000_seconds]
70
65
}
71
66
` , context )
72
67
}
You can’t perform that action at this time.
0 commit comments