To retrieve all GCP folders within an Organization using gcloud
, you can use the following command:
gcloud resource-manager folders list --organization=<ORGANIZATION_ID>
Replace <ORGANIZATION_ID>
with the ID of the organization you want to retrieve the folders for. This command will return a list of all folders within the specified organization, including their IDs and display names.
Asked: 2023-05-01 15:28:36 +0000
Seen: 17 times
Last updated: May 01 '23