From 18c7bb30c0fef27d6f79ddfc5e09ed19826c4b8a Mon Sep 17 00:00:00 2001 From: Daniel Flook Date: Tue, 3 Jun 2025 20:37:18 +0100 Subject: [PATCH 1/3] Don't use symlinks it's unclear how this works with cloud backends --- image/actions.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/image/actions.sh b/image/actions.sh index b47b6482..a24d250b 100644 --- a/image/actions.sh +++ b/image/actions.sh @@ -416,7 +416,7 @@ 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 } From e10fbf52d3e159761f9414c3b7535f430d55a386 Mon Sep 17 00:00:00 2001 From: Daniel Flook Date: Tue, 3 Jun 2025 20:37:43 +0100 Subject: [PATCH 2/3] Delete json auto tfvars --- image/actions.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/image/actions.sh b/image/actions.sh index a24d250b..7d9833da 100644 --- a/image/actions.sh +++ b/image/actions.sh @@ -422,6 +422,7 @@ function create-auto-tfvars() { 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() { From 7f4ebfec04f5f12077deaff6afa9edc51b9fc830 Mon Sep 17 00:00:00 2001 From: Daniel Flook Date: Tue, 3 Jun 2025 20:06:48 +0100 Subject: [PATCH 3/3] :bookmark: v2.0.1 --- CHANGELOG.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index ca5cc709..94026d60 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 @@ -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