import requests


def gce_get_metadata(path):
    """Queries the GCE metadata server the specified value."""
    return requests.get(
        'http://metadata/computeMetadata/v1/{}'.format(path),
        headers={
            'Metadata-Flavor': 'Google'
        }
    ).text