This turns instance metadata into an environment argument R (and other software) can see. Only works on a running instance.

gce_metadata_env(key)

Arguments

key

The metadata key. Pass "" to list the keys

Value

The metadata key value, if successful