Skip to content

Allow json var files#235

Open
pseudomorph wants to merge 1 commit intogruntwork-io:mainfrom
pseudomorph:json_var_files
Open

Allow json var files#235
pseudomorph wants to merge 1 commit intogruntwork-io:mainfrom
pseudomorph:json_var_files

Conversation

@pseudomorph
Copy link
Copy Markdown
Contributor

Description

Allow json files to be used as var files.

TODOs

Read the Gruntwork contribution guidelines.

  • Update the docs.
  • Run the relevant tests successfully, including pre-commit checks.
  • Ensure any 3rd party code adheres with our license policy or delete this line if its not applicable.
  • Include release notes. If this PR is backward incompatible, include a migration guide.

Release Notes (draft)

Added JSON file support for --var-file option alongside existing YAML support.

Migration Guide

N/A

Co-authored-by: rosstr-clickup <rstrickland@clickup.com>
@yhakbar
Copy link
Copy Markdown
Contributor

yhakbar commented Aug 6, 2025

JSON is YAML, as YAML is a super set of JSON. Are you running into issues just using a JSON file as a var file without changes, @pseudomorph ?

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants