Releases: dflook/terraform-github-actions
v1.32.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.32.0
to use exactly this release@v1.32
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 dflook/terraform-state-unlock action. Thanks patricktalmeida for working on this!
- Actions that fail because the state was locked will now have the
failure-reason
output set tostate-locked
.
They also have a newlock-info
output which is a json object with any available lock information.
This affects dflook/terraform-apply, dflook/terraform-destroy, and dflook/terraform-destroy-worksapce.
Changed
- If a terraform operation fails because the state is locked the
failure-reason
output will now be set tostate-locked
, where before it may have beenapply-failed
ordestroy-failed
.
v1.31.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.31.1
to use exactly this release@v1.31
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
- Failing to read backend config files for the purpose of identifying the backend state. This meant multiple plans with only
different backend config files would overwrite each others PR comments.
v1.31.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.31.0
to use exactly this release@v1.31
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
- Values in the
variables
input of dflook/terraform-plan will be masked in the PR comment if the Terraform variable is marked 'sensitive'. Previously alabel
was required to avoid revealing sensitive values.
v1.30.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.30.0
to use exactly this release@v1.30
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
-
The
TERRAFORM_ACTIONS_GITHUB_TOKEN
environment variable can be set to the github token for the actions to use instead of usingGITHUB_TOKEN
. This is useful if using the terraform GitHub provider which also uses theGITHUB_TOKEN
variable, allowing the github actions and terraform provider to use separate tokens. -
The
GITHUB_TOKEN
/TERRAFORM_ACTIONS_GITHUB_TOKEN
can now be a github app token or fine grained personal access token. As before, it can also be a classic PAT or use the token provided by github actions.
v1.29.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.29.1
to use exactly this release@v1.29
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
- Multiline string terraform outputs are now properly set as action outputs, and properly masked in the workflow log.
v1.29.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.29.0
to use exactly this release@v1.29
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
- Terraform executables are integrity checked using Hashicorp signed checksums before use.
v1.28.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.28.1
to use exactly this release@v1.28
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
GITHUB_OUTPUT: unbound variable
errors with v1.28.0 on self-hosted runners with older runner versions.
v1.28.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.28.0
to use exactly this release@v1.28
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
- Terraform version detection rules updated to include information about backends removed in Terraform 1.3.
Fixed
- Deprecation warnings about the
set-output
actions workflow command.
v1.27.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@v2
- uses: dflook/[email protected]
with:
path: my-terraform-config
You can specify an action version as:
@v1.27.0
to use exactly this release@v1.27
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/terraform-plan and dflook/terraform-apply now work with plans that are too large to fit in a PR comment.
If plan is too large it will be truncated in the comment, with the full plan viewable in the workflow log.
When dflook/terraform-apply aborts the apply because the plan is outdated, a partial diff will be shown in the workflow log with a link to the workflow with the full plan for direct comparison.
Fixed
- Warnings are ignored when deciding if a plan has changed and should no longer cause aborted applies if the order of the warnings changes.
- The unchanged resource attribute count is ignored when deciding if a plan has changed and should no longer cause aborted applies with harmless provider version changes.
v1.26.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@v2
- uses: dflook/[email protected]
with:
path: my-terraform-config
You can specify an action version as:
@v1.26.0
to use exactly this release@v1.26
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
- The number of moved resources in a plan is summarised in the PR comment.
Fixed
- The plan was not being correctly extracted when it contained only resource moves, which resulted in noisy PR comments and may have caused apply operations to be aborted - Thanks to merykozlowska!