Steampipe commands do not always respect requirements in mod.sp require
section
#1711
Labels
bug
Something isn't working
require
section
#1711
Describe the bug
Based on testing Steampipe and plugin requirements in
mod.sp
, sometimes the dependency is respected, other times not.steampipe
version requirementsIf I have:
And my Steampipe version is v0.13.2-rc.0, the following happens for each command:
steampipe dashboard
- The dashboard server starts OK (not expected), but when I try to load any dashboard or report, the server crashes with:steampipe query
- The interactive session starts ok (not expected), and I can run queriessteampipe check all
- The checks are not run and an error message is returned, e.g.,Error: steampipe version 0.13.2-rc.0 does not satisfy mod.my_mod which requires version 0.13.3
(expected)plugin
version requirementsIf I have:
And my GCP plugin version is v0.20.0, the following happens for each command:
steampipe dashboard
- The dashboard server starts OK (not expected), but when I try to load any dashboard or report, the server crashes with:steampipe query
- The interactive session does not start and returns an error (expected):steampipe check all
- The checks are not run and an error message is returned (expected):Steampipe version (
steampipe -v
)v0.13.2-rc.0
To reproduce
Please see above
Expected behavior
Steampipe should not allow me to run the dashboard, query, or check commands, and possibly others, if the mod requirements are not met
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: