Releases: dflook/terraform-github-actions
v2.1.0
All the terraform actions in this repository are released as one.
Use the actions as part of a GitHub Actions workflow, e.g:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dflook/terraform-plan@v2.1.0
with:
path: my-terraform-config
You can specify an action version as:
@v2.1.0
to use exactly this release@v2.1
to use the latest patch release for this specific minor version@v2
to use the latest patch release for this specific major version
Changes
Added
-
Support for the
exclude
feature in OpenTofu 1.9+. This adds a newexclude
input for dflook/tofu-plan, dflook/tofu-apply, and dflook/tofu-refresh actions.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.with: exclude: | local_file.sensitive_config aws_instance.temp_resource
Requires OpenTofu 1.9+.
v2.0.1
All the terraform actions in this repository are released as one.
Use the actions as part of a GitHub Actions workflow, e.g:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dflook/terraform-plan@v2.0.1
with:
path: my-terraform-config
You can specify an action version as:
@v2.0.1
to use exactly this release@v2.0
to use the latest patch release for this specific minor version@v2
to use the latest patch release for this specific major version
Changes
Fixed
- There was a problem in v2.0.0 that caused JSON var_files to not be loaded correctly, which would cause jobs to fail. This has been fixed.
v2.0.0
All the terraform actions in this repository are released as one.
Use the actions as part of a GitHub Actions workflow, e.g:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dflook/terraform-plan@v2.0.0
with:
path: my-terraform-config
You can specify an action version as:
@v2.0.0
to use exactly this release@v2.0
to use the latest patch release for this specific minor version@v2
to use the latest patch release for this specific major version
Changes
Changed
- The container image has been updated from debian 11 to debian 12. This may affect you if you rely on the runtime environment of Terraform/OpenTofu.
Removed
- The deprecated
var
input has been removed. This was deprecated in v1.9.0 from 2021-04-10 when it was replaced by the introduction of thevariables
input.
v1.49.0
All the terraform actions in this repository are released as one.
Use the actions as part of a GitHub Actions workflow, e.g:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dflook/terraform-plan@v1.49.0
with:
path: my-terraform-config
You can specify an action version as:
@v1.49.0
to use exactly this release@v1.49
to use the latest patch release for this specific minor version@v1
to use the latest patch release for this specific major version
Changes
Added
- Better support for OpenTofu, including early evaluation of variables and reading version information from
.tofu
files.
v1.48.0
All the terraform actions in this repository are released as one.
Use the actions as part of a GitHub Actions workflow, e.g:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dflook/terraform-plan@v1.48.0
with:
path: my-terraform-config
You can specify an action version as:
@v1.48.0
to use exactly this release@v1.48
to use the latest patch release for this specific minor version@v1
to use the latest patch release for this specific major version
Changes
Added
-
A
refresh
input for dflook/terraform-plan/tofu-plan and dflook/terraform-apply/tofu-applyThis defaults to
true
with the current behaviour of refreshing the state before planning or applying.
When set tofalse
the state will not be refreshed, which can be a lot faster but may result in an outdated plan. -
New dflook/terraform-refresh/tofu-refresh actions to update the state file to match the current state of the infrastructure, but without making any changes to the infrastructure.
v1.47.0
All the terraform actions in this repository are released as one.
Use the actions as part of a GitHub Actions workflow, e.g:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dflook/terraform-plan@v1.47.0
with:
path: my-terraform-config
You can specify an action version as:
@v1.47.0
to use exactly this release@v1.47
to use the latest patch release for this specific minor version@v1
to use the latest patch release for this specific major version
Changes
Added
- A
junit-xml-path
output for the dflook/terraform-test action, which is set to the path of the junit test report when using Terraform >=1.11.0
v1.46.1
All the terraform actions in this repository are released as one.
Use the actions as part of a GitHub Actions workflow, e.g:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dflook/terraform-plan@v1.46.1
with:
path: my-terraform-config
You can specify an action version as:
@v1.46.1
to use exactly this release@v1.46
to use the latest patch release for this specific minor version@v1
to use the latest patch release for this specific major version
Changes
Fixed
-
Reading of the
required_version
constraint from.tf
files has been made more robust.Previously this could fail if the file was particularly complex, using newer Terraform/OpenTofu features, or was malformed.
v1.46.0
All the terraform actions in this repository are released as one.
Use the actions as part of a GitHub Actions workflow, e.g:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dflook/terraform-plan@v1.46.0
with:
path: my-terraform-config
You can specify an action version as:
@v1.46.0
to use exactly this release@v1.46
to use the latest patch release for this specific minor version@v1
to use the latest patch release for this specific major version
Changes
Added
-
Support for Terraform 1.10 ephemeral input variables.
Terraform 1.10 introduced ephemeral values, which are not stored in the plan or state file.
Ephemeral variables now work correctly with dflook/terraform-apply.
These can be set normally using thevariables
input.
v1.45.0
All the terraform actions in this repository are released as one.
Use the actions as part of a GitHub Actions workflow, e.g:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dflook/terraform-plan@v1.45.0
with:
path: my-terraform-config
You can specify an action version as:
@v1.45.0
to use exactly this release@v1.45
to use the latest patch release for this specific minor version@v1
to use the latest patch release for this specific major version
Changes
Added
dflook/tofu-*
actions can now read the OpenTofu version from a tofuenv.opentofu-version
file in the module path.
See the dflook/tofu-version for details.
v1.44.0
All the terraform actions in this repository are released as one.
Use the actions as part of a GitHub Actions workflow, e.g:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dflook/terraform-plan@v1.44.0
with:
path: my-terraform-config
You can specify an action version as:
@v1.44.0
to use exactly this release@v1.44
to use the latest patch release for this specific minor version@v1
to use the latest patch release for this specific major version
Changes
Added
- Outdated comments are now minimised in the GitHub UI, making it easier to find the most recent plan.