Skip to content

Commit ad28252

Browse files
committed
🔖 v1.40.0
1 parent 64bcf61 commit ad28252

File tree

1 file changed

+20
-2
lines changed

1 file changed

+20
-2
lines changed

CHANGELOG.md

Lines changed: 20 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,27 @@ 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-
- `@v1.39.0` to use an exact release
15-
- `@v1.39` to use the latest patch release for the specific minor version
14+
- `@v1.40.0` to use an exact release
15+
- `@v1.40` to use the latest patch release for the specific minor version
1616
- `@v1` to use the latest patch release for the specific major version
1717

18+
## [1.40.0] - 2024-01-10
19+
20+
### Added
21+
- An optional `plan_path` input for [dflook/terraform-apply](terraform-apply), and matching `plan_path` output for [dflook/terraform-plan](terraform-plan).
22+
23+
This allows passing the generated plan from the plan step to the apply step, if you have a secure place to store it.
24+
25+
The default behaviour when this is not set is unchanged - the apply step will generate a fresh plan and compare it to the plan from the PR comment.
26+
By passing the plan from the plan step to the apply step, the apply step will skip generating a plan and use the passed plan instead.
27+
It must still match the plan in the PR comment.
28+
29+
This can be much faster than planning the same change twice, but is not necessarily a better choice. See the [dflook/terraform-apply](terraform-apply) docs for details.
30+
31+
- A new `to_import` output for [dflook/terraform-plan](terraform-plan), which is the number of resources that would be imported by the plan.
32+
33+
This joins the existing `to_add`, `to_change`, `to_destroy` and `to_move` outputs.
34+
1835
## [1.39.0] - 2023-12-24
1936

2037
### Added
@@ -616,6 +633,7 @@ First release of the GitHub Actions:
616633
- [dflook/terraform-new-workspace](terraform-new-workspace)
617634
- [dflook/terraform-destroy-workspace](terraform-destroy-workspace)
618635

636+
[1.40.0]: https://github.com/dflook/terraform-github-actions/compare/v1.39.0...v1.40.0
619637
[1.39.0]: https://github.com/dflook/terraform-github-actions/compare/v1.38.0...v1.39.0
620638
[1.38.0]: https://github.com/dflook/terraform-github-actions/compare/v1.37.0...v1.38.0
621639
[1.37.0]: https://github.com/dflook/terraform-github-actions/compare/v1.36.2...v1.37.0

0 commit comments

Comments
 (0)