From d8e6b2ba8f9880156114ec5acefac779ecbc8d13 Mon Sep 17 00:00:00 2001 From: Thomas Poindessous Date: Mon, 13 Mar 2017 12:26:12 +0100 Subject: [PATCH] Snapshot operations are global by project --- builtin/providers/google/resource_compute_snapshot.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/builtin/providers/google/resource_compute_snapshot.go b/builtin/providers/google/resource_compute_snapshot.go index adae6faf2..faf04cd4f 100644 --- a/builtin/providers/google/resource_compute_snapshot.go +++ b/builtin/providers/google/resource_compute_snapshot.go @@ -174,8 +174,7 @@ func resourceComputeSnapshotDelete(d *schema.ResourceData, meta interface{}) err return fmt.Errorf("Error deleting snapshot: %s", err) } - zone := d.Get("zone").(string) - err = computeOperationWaitZone(config, op, project, zone, "Deleting Snapshot") + err = computeOperationWaitGlobal(config, op, project, "Deleting Snapshot") if err != nil { return err }