• Skip to main content

Uly.me

cloud engineer

  • Home
  • About
  • Archives

GCP List of Projects

February 28, 2021

Here’s another way to list projects in a shared VPC.

gcloud compute shared-vpc list-associated-resources your-shared-host

gcloud compute shared-vpc list-associated-resources your-shared-host

Output:

project1  PROJECT
project2  PROJECT
project3  PROJECT
...

project1 PROJECT project2 PROJECT project3 PROJECT ...

Filed Under: Cloud Tagged With: gcp, list, projects

Search This Website

Subscribe Via Email

  • Home
  • About
  • Archives

Copyright © 2023