Releases: dflook/terraform-github-actions
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-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/[email protected]
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/[email protected]
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/[email protected]
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.
v1.43.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@v3
- uses: dflook/[email protected]
with:
path: my-terraform-config
You can specify an action version as:
@v1.43.0
to use exactly this release@v1.43
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
-
New dflook/terraform-test and dflook/tofu-test actions.
These can be used to run automated tests on Terraform/OpenTofu modules using the built-in
test
command.
v1.42.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@v3
- uses: dflook/[email protected]
with:
path: my-terraform-config
You can specify an action version as:
@v1.42.1
to use exactly this release@v1.42
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
-
required_version
constraints that prefix the version number withv
now work correctly.Previously a
required_version
constraint like>=v1.0.0
would not be recognised as a valid constraint.
This does not appear to be documented anywhere, but Terraform does accept them.
v1.42.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@v3
- uses: dflook/[email protected]
with:
path: my-terraform-config
You can specify an action version as:
@v1.42.0
to use exactly this release@v1.42
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 new
GITHUB_DOT_COM_TOKEN
environment variable may be set to an authentication token to use for GitHub.com API requests.This is only useful to avoid rate limiting when using the actions with GitHub Enterprise together with OpenTofu.
Normally the
GITHUB_TOKEN
environment variable is used for API requests. When using GitHub Enterprise, theGITHUB_TOKEN
is the token for the GitHub Enterprise instance, and not the GitHub.com API.
OpenTofu requires the GitHub.com API to fetch release information.
v1.41.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@v3
- uses: dflook/[email protected]
with:
path: my-terraform-config
You can specify an action version as:
@v1.41.2
to use exactly this release@v1.41
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
-
Integration with Terraform cloud workspaces using Terraform >=1.6.
Previously, applying a plan to a Terraform cloud workspace that used Terraform >=1.6 would fail.
v1.41.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@v3
- uses: dflook/[email protected]
with:
path: my-terraform-config
You can specify an action version as:
@v1.41.1
to use exactly this release@v1.41
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 the terraform version from a .tool-versions file in the workspace root. Previously this was only working when the .tool-versions file was in a subdirectory of the workspace.
v1.41.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@v3
- uses: dflook/[email protected]
with:
path: my-terraform-config
You can specify an action version as:
@v1.41.0
to use exactly this release@v1.41
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
- Downloaded OpenTofu checksum files are now verified using the OpenTofu public gpg key, beginning with OpenTofu v1.6.0.