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.

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'