Skip to content

Commit 1a3cda1

Browse files
authored
Merge pull request #397 from dflook/rel-2-1
🔖 v2.1.0
2 parents 590d63e + cd2bfa8 commit 1a3cda1

File tree

7 files changed

+33
-2
lines changed

7 files changed

+33
-2
lines changed

CHANGELOG.md

Lines changed: 21 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,28 @@ 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.1` to use an exact release
15-
- `@v2.0` to use the latest patch release for the specific minor version
14+
- `@v2.1.0` to use an exact release
15+
- `@v2.1` 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.1.0] - 2025-06-16
19+
20+
### Added
21+
- New `exclude` input for [dflook/tofu-plan](https://github.com/dflook/terraform-github-actions/tree/main/tofu-plan),
22+
[dflook/tofu-apply](https://github.com/dflook/terraform-github-actions/tree/main/tofu-apply), and
23+
[dflook/tofu-refresh](https://github.com/dflook/terraform-github-actions/tree/main/tofu-refresh) actions.
24+
25+
The `exclude` input allows specifying resources to exclude from operations, one per line. The operation will include all resources except the specified ones and their dependencies.
26+
27+
```yaml
28+
with:
29+
exclude: |
30+
local_file.sensitive_config
31+
aws_instance.temp_resource
32+
```
33+
34+
Requires OpenTofu 1.9+.
35+
1836
## [2.0.1] - 2025-06-03
1937
2038
### Fixed
@@ -754,6 +772,7 @@ First release of the GitHub Actions:
754772
- [dflook/terraform-new-workspace](terraform-new-workspace)
755773
- [dflook/terraform-destroy-workspace](terraform-destroy-workspace)
756774

775+
[2.1.0]: https://github.com/dflook/terraform-github-actions/compare/v2.0.1...v2.1.0
757776
[2.0.1]: https://github.com/dflook/terraform-github-actions/compare/v2.0.0...v2.0.1
758777
[2.0.0]: https://github.com/dflook/terraform-github-actions/compare/v1.49.0...v2.0.0
759778
[1.49.0]: https://github.com/dflook/terraform-github-actions/compare/v1.48.0...v1.49.0

docs-gen/actions/apply.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,8 @@
8484
dataclasses.replace(exclude, description='''
8585
List of resources to exclude from the apply operation, one per line.
8686
The apply operation will include all resources except the specified ones and their dependencies.
87+
88+
Requires OpenTofu 1.9+.
8789
'''),
8890
dataclasses.replace(destroy, description='''
8991
Set to `true` to destroy all resources.

docs-gen/actions/refresh.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,8 @@
4040
dataclasses.replace(exclude, description='''
4141
List of resources to exclude from the refresh operation, one per line.
4242
The refresh will include all resources except the specified ones and their dependencies.
43+
44+
Requires OpenTofu 1.9+.
4345
'''),
4446
parallelism
4547
],

tofu-apply/README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -153,6 +153,8 @@ These input values must be the same as any [`dflook/tofu-plan`](https://github.c
153153
List of resources to exclude from the apply operation, one per line.
154154
The apply operation will include all resources except the specified ones and their dependencies.
155155

156+
Requires OpenTofu 1.9+.
157+
156158
```yaml
157159
with:
158160
exclude: |

tofu-apply/action.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,8 @@ inputs:
5454
description: |
5555
List of resources to exclude from the apply operation, one per line.
5656
The apply operation will include all resources except the specified ones and their dependencies.
57+
58+
Requires OpenTofu 1.9+.
5759
required: false
5860
default: ""
5961
destroy:

tofu-refresh/README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,8 @@ This will synchronise the OpenTofu state with the actual resources, but will not
102102
List of resources to exclude from the refresh operation, one per line.
103103
The refresh will include all resources except the specified ones and their dependencies.
104104

105+
Requires OpenTofu 1.9+.
106+
105107
```yaml
106108
with:
107109
exclude: |

tofu-refresh/action.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,8 @@ inputs:
4242
description: |
4343
List of resources to exclude from the refresh operation, one per line.
4444
The refresh will include all resources except the specified ones and their dependencies.
45+
46+
Requires OpenTofu 1.9+.
4547
required: false
4648
default: ""
4749
parallelism:

0 commit comments

Comments
 (0)