Skip to content

Commit ee5e8e7

Browse files
authored
Merge pull request #393 from dflook/rel-2-0-1
🔖 v2.0.1
2 parents bcc0e13 + 7f4ebfe commit ee5e8e7

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

CHANGELOG.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,15 @@ The actions are versioned as a suite. Some actions may have no change in behavio
1111

1212
When using an action you can specify the version as:
1313

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

18+
## [2.0.1] - 2025-06-03
19+
20+
### Fixed
21+
- 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.
22+
1823
## [2.0.0] - 2025-05-31
1924

2025
### Changed
@@ -749,6 +754,7 @@ First release of the GitHub Actions:
749754
- [dflook/terraform-new-workspace](terraform-new-workspace)
750755
- [dflook/terraform-destroy-workspace](terraform-destroy-workspace)
751756

757+
[2.0.1]: https://github.com/dflook/terraform-github-actions/compare/v2.0.0...v2.0.1
752758
[2.0.0]: https://github.com/dflook/terraform-github-actions/compare/v1.49.0...v2.0.0
753759
[1.49.0]: https://github.com/dflook/terraform-github-actions/compare/v1.48.0...v1.49.0
754760
[1.48.0]: https://github.com/dflook/terraform-github-actions/compare/v1.47.0...v1.48.0

image/actions.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -416,12 +416,13 @@ function create-auto-tfvars() {
416416
if [[ -n "${INPUT_VARIABLES:-}" ]]; then
417417
debug_log "Creating autoloading tfvars file for the variables input: zzzz-dflook-terraform-github-actions-$AUTO_TFVARS_COUNTER.auto.tfvars"
418418
echo "$INPUT_VARIABLES" >"$STEP_TMP_DIR/zzzz-dflook-terraform-github-actions-$AUTO_TFVARS_COUNTER.auto.tfvars"
419-
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"
419+
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"
420420
fi
421421
}
422422

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

427428
function output() {

0 commit comments

Comments
 (0)