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
steampipe query
Error: Internal Error: Failed to load config: Function calls not allowed: Functions may not be called here.
(/Users/kaja/Documents/Code/Steampipe/config/googledirectory.spc:3,16-56)
Version info: Steampipe v1.0.0 on arm64 macOS 15.1 (24B82)
The text was updated successfully, but these errors were encountered:
Hey @0xADD1E it seems like Steampipe connections do not support functions currently.
The issue and the fix you have tagged are related to Flowpipe and not Steampipe. Flowpipe credentials currently support functions.
Hence I'm transferring this issue to the steampipe repo and marking it as a new Feature Request. This will be a good addition and we will work on it. Thanks for bringing this to our attention. 😊
Hey @pskrbasu - apologies for the confusion,
While the issue here is specific to Steampipe, I thought the config parser Steampipe used for connections was the same pipe-fittings/parse module that was used by Flowpipe (just connection.go instead of credential.go).
Am I misunderstanding the module structure here, or is this saying there's a better way of doing this for Steampipe?
You are correct that Steampipe connection parsing happens in pipe-fittings. However the connection structure of Steampipe connections and Flowpipe/Powerpipe connections (PipelingConnections) is different - thus there is a different set of parsing code. This this problem is Steampipe specific.
At present the Steampipe connection parsing code does not support functions. This is more a for historical reasons rather than any technical reason and I certainly think it's reasonable to add this support. I don't foresee issues buit let me take a look into it
Further to turbot/pipe-fittings#149 (and the fix turbot/pipe-fittings#150)
It would be beneficial in some cases to be able to setup steampipe connection resources as follows
but when attempting to run, this yields
Version info: Steampipe v1.0.0 on arm64 macOS 15.1 (24B82)
The text was updated successfully, but these errors were encountered: