Skip to content

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

Closed

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

Activity

  1. jeffreyaven commented on Sep 4, 2023

    @jeffreyaven
    MemberAuthor

    closed with #21

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions