Last active
December 2, 2024 16:48
-
-
Save kevinhooke/898de78ade7ae1c6cc5e1d34836722cb to your computer and use it in GitHub Desktop.
GCP cli snippets
This file contains hidden or 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
#list projects | |
gcloud projects list | |
#list VMs | |
gcloud --project [project-id] compute instances list | |
#List Cloud Run services | |
gcloud --project [project-id] run services list | |
#Lookup GCP secret | |
gcloud --project [project-id] secrets versions access latest --secret [secret-name] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment