Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug: Tables failing with error Error: pq: rpc error: code = Internal desc = get hydrate function getIamRole failed with panic interface conversion: interface {} is nil, not *gcp.roleInfo #129

Closed
Subhajit97 opened this issue Mar 2, 2021 · 1 comment · Fixed by #130
Assignees
Labels
bug Something isn't working

Comments

@Subhajit97
Copy link
Contributor

Subhajit97 commented Mar 2, 2021

GCP tables that were using ItemFromKey forget API call in table schema are breaking.

SDK issue: turbot/steampipe-plugin-sdk#53

> select name from gcp_iam_role where name = 'projects/pikachu-aaa/roles/CustomRole';
Error: pq: rpc error: code = Internal desc = get hydrate function getIamRole failed with panic interface conversion: interface {} is nil, not *gcp.roleInfo
> select * from gcp_project_service where name = 'audit.googleapis.com';
Error: pq: rpc error: code = Internal desc = get hydrate function getGcpProjectService failed with panic interface conversion: interface {} is nil, not *serviceusage.GoogleApiServiceusageV1Service

Tables impacted

  • gcp_project_service
  • gcp_iam_role
@Subhajit97 Subhajit97 self-assigned this Mar 2, 2021
@Subhajit97 Subhajit97 changed the title Update plugin dependency for 0.2.1 release Bug: Update tables breaking for get calls on key columns Mar 2, 2021
@Subhajit97 Subhajit97 added the bug Something isn't working label Mar 2, 2021
@Subhajit97 Subhajit97 changed the title Bug: Update tables breaking for get calls on key columns Bug: Update tables breaking for get calls on key columns using ItemFromKey to provide hydrate item Mar 2, 2021
Subhajit97 added a commit that referenced this issue Mar 2, 2021
@Subhajit97 Subhajit97 changed the title Bug: Update tables breaking for get calls on key columns using ItemFromKey to provide hydrate item Bug: Tables failing with error Error: pq: rpc error: code = Internal desc = get hydrate function getIamRole failed with panic interface conversion: interface {} is nil, not *gcp.roleInfo Mar 2, 2021
@LalitLab
Copy link
Contributor

LalitLab commented Mar 2, 2021

This issue will be resolved once the plugin is recompiled and released with the latest version of steampipe-plugin-sdk that includes a fix for turbot/steampipe-plugin-sdk#53.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
2 participants