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_kubernetes_node_pool table if gke autopilot is used #585

Closed ramses999 closed 1 month ago

ramses999 commented 2 months ago

Describe the bug When trying to query data from the gcp_kubernetes_node_pool table, an error Error: gcp_project_xxxx: googleapi: Error 400: Autopilot node pools cannot be accessed or modified. Details: [ { "@type": "type.googleapis.com/google.rpc.RequestInfo", "requestId": "0x19249aad0824e904" } ] , badRequest (SQLSTATE HV000) occurs if the project uses gke autopilot autopilot

Steampipe version (steampipe -v) Steampipe v0.22.2

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

To reproduce Run command select * from gcp_project_indriver_bi.gcp_kubernetes_node_pool on a project with GKE autopilot

Expected behavior If this is a limitation of the platform itself, then display an empty line instead of an error

gke1 gke2