Skip to content

add support for passing references jsonnet/json files via the --iqldata arg #17

Description

@jeffreyaven

For example, running the following action in a workflow:

      - name: Run exec with a vars file
        uses: stackql/stackql-assert@v1.0.0
        with:
          auth_obj_path: './stackql_scripts/auth.json'
          query_file_path: './stackql_scripts/google-example.iql'
          data: ./stackql_scripts/vars.jsonnet
          ...

would run the command

stackql exec --auth="${AUTH}" -i ./stackql_scripts/google-example.iql --iqldata ./stackql_scripts/vars.jsonnet

This would render a templated query with the variables from the jsonnet file

Metadata

Metadata

Labels

enhancementNew feature or request

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions