Skip to content

Releases: dflook/terraform-github-actions

v1.32.0

28 Jan 13:47
a33aa1e
Compare
Choose a tag to compare

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

Changed

  • If a terraform operation fails because the state is locked the failure-reason output will now be set to state-locked, where before it may have been apply-failed or destroy-failed.

v1.31.1

01 Dec 09:36
d37748b
Compare
Choose a tag to compare

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

22 Nov 23:51
aaf0727
Compare
Choose a tag to compare

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 a label was required to avoid revealing sensitive values.

v1.30.0

19 Nov 18:15
f35b99e
Compare
Choose a tag to compare

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 using GITHUB_TOKEN. This is useful if using the terraform GitHub provider which also uses the GITHUB_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

24 Oct 22:39
058e8d0
Compare
Choose a tag to compare

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

17 Oct 20:51
c1bc83a
Compare
Choose a tag to compare

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

17 Oct 11:24
3ca628e
Compare
Choose a tag to compare

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

12 Oct 17:56
dade45f
Compare
Choose a tag to compare

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

07 Aug 16:17
62d5bfd
Compare
Choose a tag to compare

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

29 May 16:17
ebb55db
Compare
Choose a tag to compare

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!