diff --git a/google/resource_compute_disk.go b/google/resource_compute_disk.go index 2c3326d76a8..35f4a8efbfe 100644 --- a/google/resource_compute_disk.go +++ b/google/resource_compute_disk.go @@ -301,9 +301,10 @@ func resourceComputeDiskDelete(d *schema.ResourceData, meta interface{}) error { } for _, disk := range i.Disks { if disk.Source == self { + zoneParts := strings.Split(i.Zone, "/") detachCalls = append(detachCalls, detachArgs{ project: project, - zone: i.Zone, + zone: zoneParts[len(zoneParts)-1], instance: i.Name, deviceName: disk.DeviceName, })