Files
steampipe/docs/runtime_dependencies.md
kaidaguerre fa18c8f0e2 Add support for node reuse. Update graph, flow and hierarchy to declare nodes and edges inline, rather than as a list of references. Closes #2871
Only top level resources can have with and param blocks. Closes #2872
Refactor resource and dashboard run hierarchies to use base impl structs. Closes #2873
2022-12-14 17:18:57 +00:00

755 B

Runtime dependencies

Runtime dependencies are identified when an arg or param definition references either a with, input or param block

They are populated on the resource as part of the argument decoding (this is handled by QueryProviderBase)

When constructing LeafRun objects for resources, the LeafRun runtime dependencies are populated from the resource in resolveRuntimeDependencies

CHANGES

  • only top level nodes can have param or with
  • for query providers, base does not inherit with, params or args. Instead store a reference to the base,
  • only execute with runs trhat are needed by runtime dep
  • in leaf run, if resource has a base and its with are required, resolve runtime depos to populate args/params on base object