-
Notifications
You must be signed in to change notification settings - Fork 285
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
Control run fails with an array list as input param when the input is a empty list #2094
Comments
@kaidaguerre I'm not sure if this bug is fixed. While using Steampipe CLI v0.19.4, I just tried updating the AWS Perimeter mod, by updating the default value of variable "trusted_accounts" {
type = list(string)
default = []
description = "A list of trusted AWS accounts resources can be shared with."
} Next I tried running
The control is defined as:
I also tried setting Comparatively, if I set the default value or explicit value to something like Are we passing in the |
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. |
Describe the bug
I have a compliance mod a below
mod.sp
Seems like when the list is empty we need to sanitize our input by casting it explicitly. More info in Additional context
Steampipe version (
steampipe -v
)Example: v0.14.4
To reproduce
mkdir test-array-input && cd test-array-input
Expected behavior
Both the queries should work properly
Additional context
The text was updated successfully, but these errors were encountered: