Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,15 @@ The actions are versioned as a suite. Some actions may have no change in behavio

When using an action you can specify the version as:

- `@v2.0.0` to use an exact release
- `@v2.0.1` to use an exact release
- `@v2.0` to use the latest patch release for the specific minor version
- `@v2` to use the latest patch release for the specific major version

## [2.0.1] - 2025-06-03

### Fixed
- There was a regression in v2.0.0 that caused JSON var_files to not be loaded correctly, which would cause jobs to fail. This has been fixed.

## [2.0.0] - 2025-05-31

### Changed
Expand Down Expand Up @@ -749,6 +754,7 @@ First release of the GitHub Actions:
- [dflook/terraform-new-workspace](terraform-new-workspace)
- [dflook/terraform-destroy-workspace](terraform-destroy-workspace)

[2.0.1]: https://github.com/dflook/terraform-github-actions/compare/v2.0.0...v2.0.1
[2.0.0]: https://github.com/dflook/terraform-github-actions/compare/v1.49.0...v2.0.0
[1.49.0]: https://github.com/dflook/terraform-github-actions/compare/v1.48.0...v1.49.0
[1.48.0]: https://github.com/dflook/terraform-github-actions/compare/v1.47.0...v1.48.0
Expand Down
3 changes: 2 additions & 1 deletion image/actions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -416,12 +416,13 @@ function create-auto-tfvars() {
if [[ -n "${INPUT_VARIABLES:-}" ]]; then
debug_log "Creating autoloading tfvars file for the variables input: zzzz-dflook-terraform-github-actions-$AUTO_TFVARS_COUNTER.auto.tfvars"
echo "$INPUT_VARIABLES" >"$STEP_TMP_DIR/zzzz-dflook-terraform-github-actions-$AUTO_TFVARS_COUNTER.auto.tfvars"
ln -s "$STEP_TMP_DIR/zzzz-dflook-terraform-github-actions-$AUTO_TFVARS_COUNTER.auto.tfvars" "$INPUT_PATH/zzzz-dflook-terraform-github-actions-$AUTO_TFVARS_COUNTER.auto.tfvars"
cp "$STEP_TMP_DIR/zzzz-dflook-terraform-github-actions-$AUTO_TFVARS_COUNTER.auto.tfvars" "$INPUT_PATH/zzzz-dflook-terraform-github-actions-$AUTO_TFVARS_COUNTER.auto.tfvars"
fi
}

function delete-auto-tfvars() {
debug_cmd find "$INPUT_PATH" -regex '.*/zzzz-dflook-terraform-github-actions-[0-9]+.*\.auto\.tfvars' -print -delete || true
debug_cmd find "$INPUT_PATH" -regex '.*/zzzz-dflook-terraform-github-actions-[0-9]+.*\.auto\.tfvars\.json' -print -delete || true
}

function output() {
Expand Down
Loading