mdaguete / steampipe-plugin-gcp

Use SQL to instantly query GCP resources across regions, projects and organizations. Open source CLI. No DB required.

Home Page:https://hub.steampipe.io/plugins/turbot/gcp

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

image

GCP Plugin for Steampipe

Use SQL to query infrastructure including servers, networks, databases and more from GCP.

Quick start

Install the plugin with Steampipe:

steampipe plugin install gcp

Run a query:

select
  name,
  role_id
from
  gcp_iam_role;

Developing

Prerequisites:

Clone:

git clone https://github.com/turbot/steampipe-plugin-gcp.git
cd steampipe-plugin-gcp

Build, which automatically installs the new version to your ~/.steampipe/plugins directory:

make

Configure the plugin:

cp config/* ~/.steampipe/config
vi ~/.steampipe/config/gcp.spc

Try it!

steampipe query
> .inspect gcp

Further reading:

Contributing

Please see the contribution guidelines and our code of conduct. All contributions are subject to the Apache 2.0 open source license.

help wanted issues:

About

Use SQL to instantly query GCP resources across regions, projects and organizations. Open source CLI. No DB required.

https://hub.steampipe.io/plugins/turbot/gcp

License:Apache License 2.0


Languages

Language:Go 82.0%Language:HCL 15.5%Language:JavaScript 2.3%Language:PLSQL 0.2%Language:Makefile 0.0%