You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When making the following query SELECT keyName, tagSet[0], instanceId, instanceState, instanceType FROM awscc.ec2.instances
we get the following error
error: You have an error in your stackql syntax; parser error: Code: INVALID_ARGUMENT
syntax error at position 25 near '['
To Reproduce
stackql exec "SELECT keyName, tagSet[0], instanceId, instanceState, instanceType FROM awscc.ec2.instances WHERE region = 'ap-southeast-2';"
hey @jonochang the issue is with the aws provider in this case, the awscc.instances resource is a view projected from the aws provider, the aws provider is xml based and the tagSet field is not getting properly marshalled into an array, we will get this fixed and let you know
Describe the bug
When making the following query
SELECT keyName, tagSet[0], instanceId, instanceState, instanceType FROM awscc.ec2.instances
we get the following error
To Reproduce
Expected behavior
Expect to be able to access an item in the array type as defined in documentation here: https://awscc.stackql.io/providers/awscc/ec2/instances/
The aim is to extract the Name tag and value.
Screenshots
N/A
Desktop (please complete the following information):
Smartphone (please complete the following information):
N/A
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: