Releases: dflook/terraform-github-actions
v2.2.2
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/[email protected]
with:
path: my-terraform-configYou can specify an action version as:
@v2.2.2to use exactly this release@v2.2to use the latest patch release for this specific minor version@v2to use the latest patch release for this specific major version
Changes
Fixed
- dflook/terraform-apply/dflook/tofu-apply could mistakenly think the plan had changed and abort the apply operation, if the plan imported resources and also contained warnings.
v2.2.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/[email protected]
with:
path: my-terraform-configYou can specify an action version as:
@v2.2.1to use exactly this release@v2.2to use the latest patch release for this specific minor version@v2to use the latest patch release for this specific major version
Changes
Fixed
- Fixed incorrect plan difference reporting when an apply is aborted because the plan changed, with plans that are too large for PR comments. Previously, when a plan was truncated due to size limits, the diff output would show misleading whitespace-only differences, causing confusion about what had actually changed.
v2.2.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/[email protected]
with:
path: my-terraform-configYou can specify an action version as:
@v2.2.0to use exactly this release@v2.2to use the latest patch release for this specific minor version@v2to use the latest patch release for this specific major version
Changes
Added
-
New
json_output_pathoutput for dflook/terraform-apply, dflook/terraform-output, dflook/terraform-remote-state, dflook/tofu-apply, dflook/tofu-output, and dflook/tofu-remote-state actions.The
json_output_pathoutput points to a JSON file containing all root module outputs in a simple key-value format.
This addresses GitHub Actions' output size limitations and enables easier access to all outputs as a single object.
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/[email protected]
with:
path: my-terraform-configYou can specify an action version as:
@v2.1.0to use exactly this release@v2.1to use the latest patch release for this specific minor version@v2to use the latest patch release for this specific major version
Changes
Added
-
Support for the
excludefeature in OpenTofu 1.9+. This adds a newexcludeinput for dflook/tofu-plan, dflook/tofu-apply, and dflook/tofu-refresh actions.The
excludeinput 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/[email protected]
with:
path: my-terraform-configYou can specify an action version as:
@v2.0.1to use exactly this release@v2.0to use the latest patch release for this specific minor version@v2to 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/[email protected]
with:
path: my-terraform-configYou can specify an action version as:
@v2.0.0to use exactly this release@v2.0to use the latest patch release for this specific minor version@v2to 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
varinput has been removed. This was deprecated in v1.9.0 from 2021-04-10 when it was replaced by the introduction of thevariablesinput.
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/[email protected]
with:
path: my-terraform-configYou can specify an action version as:
@v1.49.0to use exactly this release@v1.49to use the latest patch release for this specific minor version@v1to 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
.tofufiles.
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/[email protected]
with:
path: my-terraform-configYou can specify an action version as:
@v1.48.0to use exactly this release@v1.48to use the latest patch release for this specific minor version@v1to use the latest patch release for this specific major version
Changes
Added
-
A
refreshinput for dflook/terraform-plan/tofu-plan and dflook/terraform-apply/tofu-applyThis defaults to
truewith the current behaviour of refreshing the state before planning or applying.
When set tofalsethe 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/[email protected]
with:
path: my-terraform-configYou can specify an action version as:
@v1.47.0to use exactly this release@v1.47to use the latest patch release for this specific minor version@v1to use the latest patch release for this specific major version
Changes
Added
- A
junit-xml-pathoutput 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/[email protected]
with:
path: my-terraform-configYou can specify an action version as:
@v1.46.1to use exactly this release@v1.46to use the latest patch release for this specific minor version@v1to use the latest patch release for this specific major version
Changes
Fixed
-
Reading of the
required_versionconstraint from.tffiles has been made more robust.Previously this could fail if the file was particularly complex, using newer Terraform/OpenTofu features, or was malformed.