Any Script or any way to get all GCP inventory

Hi Team,

Is there any script is available to fetch all the GCP resources report, it can capture and provide, like any resources, like which are being used, VM instances, GKE, composer, etc.

Solved Solved
1 2 1,667
1 ACCEPTED SOLUTION

Hi raj_117,

You might want to look at Cloud Asset Inventory: https://cloud.google.com/asset-inventory

Best,

Alex

View solution in original post

2 REPLIES 2

Hi raj_117,

You might want to look at Cloud Asset Inventory: https://cloud.google.com/asset-inventory

Best,

Alex

@raj_117 , you could use the gcloud CLI for the Asset Inventory service that @alexmoore mentioned.

gcloud asset search-all-resources --scope='projects/projectname'