turbot / steampipe-plugin-gcp

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
Apache License 2.0
39 stars 24 forks source link

Error in gcp_sql_database if instance is not running #584

Closed ramses999 closed 1 month ago

ramses999 commented 2 months ago

Describe the bug While running the command select * from gcp_sql_database in a project where there are stopped SQL instances returns error 400 (more details in the screenshots)

Steampipe version (steampipe -v) Steampipe v0.22.2

Plugin version (steampipe plugin list) hub.steampipe.io/plugins/turbot/gcp@latest | 0.52.0

Expected behavior Return empty strings for stopped instances without errors

st2 st3