def get_all_attached_volumes(self):
    """
    Get all the the volumes that are attached to an instance.

    :param boto.ec2.instance.Instance self:
        Current instance.

    :return: List of attached boto.ec2.volume.Volume
    :rtype: list
    """
    return [v for v in self.connection.get_all_volumes() if v.attach_data.instance_id == self.id]