Created
July 16, 2020 15:42
-
-
Save jak/33df0723ccf6be69eacd88c6fcf383ca to your computer and use it in GitHub Desktop.
Get metadata from GCP instance
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
curl "http://metadata.google.internal/computeMetadata/v1/instance/attributes/foo" \ | |
-H "Metadata-Flavor: Google" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment