Closed cbruno10 closed 10 months ago
@cbruno10 Steampipe behaves in the same way. If you pass a variable from a parent mod to its child through the args, you must also define the variable in the child with a default value. If the value is passed from the parent, it will override the default value.
For instance, if I have a mod that uses the Slack mod (https://github.com/turbot/flowpipe-mod-github-integrations/blob/2ec63ef40ef210b0697fe0f8eb9556fef04d5d30/mod.hcl#L24-L30C6) and passes args through, I need to set defaults (https://github.com/turbot/flowpipe-mod-slack/blob/staging/variables.hcl#L4) otherwise Flowpipe will say those variables aren't set.