diff --git a/ibm/resource_ibm_is_instance.go b/ibm/resource_ibm_is_instance.go index 4b904ab7b6..47b7c14dcf 100644 --- a/ibm/resource_ibm_is_instance.go +++ b/ibm/resource_ibm_is_instance.go @@ -657,9 +657,10 @@ func resourceIBMisInstanceRead(d *schema.ResourceData, meta interface{}) error { bootVol := map[string]interface{}{} bootVol[isInstanceBootName] = instance.BootVolumeAttachment.Name stg := storage.NewStorageClient(sess) - vol, err := stg.Get(instance.BootVolumeAttachment.Volume.ID.String()) + volId := instance.BootVolumeAttachment.Volume.ID.String() + vol, err := stg.Get(volId) if err != nil { - return err + return fmt.Errorf("Error while retrieving boot volume %s for instance %s: %v", volId, d.Id(), err) } if vol.EncryptionKey != nil { bootVol[isInstanceBootEncryption] = vol.EncryptionKey.Crn