def get_tags_for_volume(volume_id, region):
    'Return the tags attached to the given EBS volume.'
    logging.info('Getting tags for volume %s', volume_id)
    return boto3.client('ec2', region_name=region).describe_volumes(VolumeIds=[volume_id]).get('Volumes')[0].get('Tags')
Return the tags attached to the given EBS volume.
def get_tags_for_volume(volume_id, region):
    
    logging.info('Getting tags for volume %s', volume_id)
    return boto3.client('ec2', region_name=region).describe_volumes(VolumeIds=[volume_id]).get('Volumes')[0].get('Tags')