-
Notifications
You must be signed in to change notification settings - Fork 1
Use of data
for resource notifications should be object
#48
Comments
Hey @Joeturbot , thanks for raising this request! Does the Since we already have the resource data as a column, assuming it returns data correctly from the GraphQL query (even if it's not optimal), it seems like adding a new column ( If you need any help or have questions, please let us know. Thanks! |
@cbruno10 the I'm working on a PR now. I just swapped out all instances of If I have questions, I'll raise them in Steampipe Slack. |
This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 30 days. |
'This issue was closed because it has been stalled for 60 days with no activity.' |
Closed by: #65 |
Describe the bug
When querying
{resource{data}}
, Turbot will always return the most recent resource data state. When making queries inturbot_resource
, this is appropriate behavior. However, for notifications, we want the previous resource state. Using{resource{object}}
is the correct query to make.Steampipe version (
steampipe -v
)❯ steampipe -v
steampipe version 0.14.6
Plugin version (
steampipe plugin list
)| hub.steampipe.io/plugins/turbot/turbot@latest | 0.5.0 |
To reproduce
Steps to reproduce the behavior (please include relevant code and/or commands).
resource_created
andresource_updated
notifications259791392905645
in the below query with the resource ID from step 1.Expected behavior
The results from the query in step 2, should reflect the resource's change over time.
Additional context
The query needs to change on line 164, line 309 and line 66
The text was updated successfully, but these errors were encountered: