All Projects → onetwopunch → gcptree

onetwopunch / gcptree

Licence: MIT License
Like the unix tree command but for GCP Org Heirarchy

Programming Languages

python
139335 projects - #7 most used programming language
Makefile
30231 projects

Projects that are alternatives of or similar to gcptree

universal-translator
Demo app using Firebase and Google Cloud products to implement a "universal translator"
Stars: ✭ 37 (+54.17%)
Mutual labels:  google-cloud
asdf-gcloud
☁️ GCloud CLI (Google Cloud SDK) plugin for asdf version manager. Pin gcloud versions for each project!
Stars: ✭ 24 (+0%)
Mutual labels:  google-cloud
bigtable
TypeScript Bigtable Client with 🔋🔋 included.
Stars: ✭ 13 (-45.83%)
Mutual labels:  google-cloud
nodejs-talent
Node.js client for Google Cloud Talent Solutions. Transform your job search and candidate matching capabilities with Cloud Talent Solution.
Stars: ✭ 21 (-12.5%)
Mutual labels:  google-cloud
kubernetes-vault-example
Placeholder for training material related to TA usage of Vault for securing Kubernetes apps.
Stars: ✭ 16 (-33.33%)
Mutual labels:  google-cloud
end-to-end-machine-learning-with-google-cloud
End to End Machine Learning with Google Cloud Platform
Stars: ✭ 39 (+62.5%)
Mutual labels:  google-cloud
appengine-java-standard
Google App Engine Standard Java runtime: Prod runtime, local devappserver, Cloud SDK Java components, GAE APIs, and GAE API emulators.
Stars: ✭ 141 (+487.5%)
Mutual labels:  google-cloud
gcp-firewall-enforcer
A toolbox to enforce firewall rules across multiple GCP projects.
Stars: ✭ 77 (+220.83%)
Mutual labels:  google-cloud
server
The ViUR application development framework - legacy version 2.x for Python 2.7
Stars: ✭ 12 (-50%)
Mutual labels:  google-cloud
ob google-bigquery
This service is meant to simplify running Google Cloud operations, especially BigQuery tasks. This means you do not have to worry about installation, configuration or ongoing maintenance related to an SDK environment. This can be helpful to those who would prefer to not to be responsible for those activities.
Stars: ✭ 43 (+79.17%)
Mutual labels:  google-cloud
GaeSupportLaravel
Run Laravel on Google App Engine
Stars: ✭ 22 (-8.33%)
Mutual labels:  google-cloud
self-hosted-runners-anthos
GitHub Actions Self Hosted Runners on Anthos GKE
Stars: ✭ 17 (-29.17%)
Mutual labels:  google-cloud
arc gcs
Provides an Arc backend for Google Cloud Storage
Stars: ✭ 48 (+100%)
Mutual labels:  google-cloud
healthcare-dicom-dicomweb-adapter
Adapter which transforms DIMSE requests to DICOMweb requests
Stars: ✭ 92 (+283.33%)
Mutual labels:  google-cloud
pipeline-editor
Cloud Pipelines Editor is a web app that allows the users to build and run Machine Learning pipelines without having to set up development environment.
Stars: ✭ 22 (-8.33%)
Mutual labels:  google-cloud
bazel-cache
Minimal cloud oriented Bazel gRPC cache
Stars: ✭ 33 (+37.5%)
Mutual labels:  google-cloud
restme
Template to bootstrap a fully functional, multi-region, REST service on GCP with a developer release pipeline.
Stars: ✭ 19 (-20.83%)
Mutual labels:  google-cloud
socket.io-pubsub
Socket.io adapter for Google Pub/Sub, allowing to setup a socket.io cluster
Stars: ✭ 29 (+20.83%)
Mutual labels:  google-cloud
rowy
Open-source Airtable-like experience for your database (Firestore) with GCP's scalability. Build any automation or cloud functions for your product. ⚡️✨
Stars: ✭ 2,676 (+11050%)
Mutual labels:  google-cloud
secrets-init
minimalistic init system for containers with AWS/GCP secrets support
Stars: ✭ 114 (+375%)
Mutual labels:  google-cloud

gcptree

Like the unix tree command but for GCP Org Heirarchy.

For a note on coloring, the org node is green, folders and blue, and projects that are not ACTIVE are dimmed. These styles won't show up if you redirect output and Windows is supported by virtue of the colorama package.

Installation

pip install gcptree

Usage

First make sure you are authenticated to gcloud and have your application default credentials set using:

gcloud auth login --update-adc

You just need your org id, which you can find in the GCP console under the popup for picking organizations. It should be a long number around 12 digits or so.

gcptree $ORG_ID

The flags are fairly simple and can be seen with the --help flag.

$ gcptree --help
usage: gcptree [-h] [--format FORMAT] [--full-resource] org_id

Print out a GCP org heirarchy

positional arguments:
  org_id           GCP Organization ID

optional arguments:
  -h, --help       show this help message and exit
  --format FORMAT  Output format (json or text)
  --full-resource  API-parsable nodes where org and folder resource names are not resolved, i.e org/123 instead of example.com

Permissions

The minimum role you'll need at the organization level is:

  • roles/browser
  • roles/cloudasset.viewer
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].