Skip to content

Releases: dflook/terraform-github-actions

v1.14.0

15 Sep 21:01
Immutable release. Only release title and notes can be modified.
8e20e61

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/terraform-plan@v1.14.0
      with:
        path: my-terraform-config

You can specify an action version as:

  • @v1.14.0 to use exactly this release
  • @v1.14 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 self-hosted GitHub Enterprise deployments. Thanks f0rkz!

Changed

  • The path input variable is now optional, defaulting to the Action workspace.
  • Uninteresting workflow log output is now grouped and collapsed by default.

Fixed

  • Applying PR approved plans where the plan comment is not within the first 30 comments.

v1.13.0

24 Jul 12:23
Immutable release. Only release title and notes can be modified.
283f2ac

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/terraform-plan@v1.13.0
      with:
        path: my-terraform-config

You can specify an action version as:

  • @v1.13.0 to use exactly this release
  • @v1.13 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_PRE_RUN environment variable for customising the environment before running terraform.

    It can be set to a command that will be run prior to terraform init.

    The runtime environment for these actions is subject to change in minor version releases.
    If using this environment variable, specify the minor version of the action to use.

    The runtime image is currently based on debian:buster, with the command run using bash -xeo pipefail.

    For example:

    env:
      TERRAFORM_PRE_RUN: |
        # Install latest Azure CLI
        curl -skL https://aka.ms/InstallAzureCLIDeb | bash
    
        # Install postgres client
        apt-get install -y --no-install-recommends postgresql-client

v1.12.0

08 Jun 08:02
Immutable release. Only release title and notes can be modified.
a69b277

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/terraform-plan@v1.12.0
      with:
        path: my-terraform-config

You can specify an action version as:

  • @v1.12.0 to use exactly this release
  • @v1.12 to use the latest patch release for this specific minor version
  • @v1 to use the latest patch release for this specific major version

Changes

Changed

  • terraform-fmt-check now shows a diff in the workflow log when it finds files in non-canonical format

v1.11.0

05 Jun 09:13
Immutable release. Only release title and notes can be modified.
d3a097b

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/terraform-plan@v1.11.0
      with:
        path: my-terraform-config

You can specify an action version as:

  • @v1.11.0 to use exactly this release
  • @v1.11 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 add_github_comment input for dflook/terraform-plan may now be set to changes-only. This will only add a PR comment
    for plans that result in changes to apply - no comment will be added for plans with no changes.

Changed

  • Improved messaging in the workflow log when dflook/terraform-apply is aborted because the plan has changed
  • Update documentation for backend_config, backend_config_file, var_file & target inputs to use separate lines for multiple values. Multiple values may still be separated by commas if preferred.

v1.10.0

30 May 11:30
Immutable release. Only release title and notes can be modified.
29f8b23

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/terraform-plan@v1.10.0
      with:
        path: my-terraform-config

You can specify an action version as:

  • @v1.10.0 to use exactly this release
  • @v1.10 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_HTTP_CREDENTIALS environment variable for configuring the username and password to use for
    git::https:// & https:// module sources.

    See action documentation for details, e.g. terraform-plan

v1.9.3

29 May 18:23
Immutable release. Only release title and notes can be modified.
f4b426c

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/terraform-plan@v1.9.3
      with:
        path: my-terraform-config

You can specify an action version as:

  • @v1.9.3 to use exactly this release
  • @v1.9 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

  • With terraform 0.15.4, terraform-plan jobs that only had changes to outputs would fail when creating a PR comment.

v1.9.2

05 May 08:58
Immutable release. Only release title and notes can be modified.
51d488a

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/terraform-plan@v1.9.2
      with:
        path: my-terraform-config

You can specify an action version as:

  • @v1.9.2 to use exactly this release
  • @v1.9 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

  • Slow state locking messages were being considered part of the plan, which could cause apply actions to be aborted.

v1.9.1

21 Apr 08:50
Immutable release. Only release title and notes can be modified.
46179c7

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/terraform-plan@v1.9.1
      with:
        path: my-terraform-config

You can specify an action version as:

  • @v1.9.1 to use exactly this release
  • @v1.9 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

  • Terraform 0.15 plans were not being extracted correctly, causing failures to apply.

v1.9.0

10 Apr 15:25
Immutable release. Only release title and notes can be modified.
13bc2fa

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/terraform-plan@v1.9.0
      with:
        path: my-terraform-config

You can specify an action version as:

  • @v1.9.0 to use exactly this release
  • @v1.9 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

  • variables input for actions that use terraform input variables.

    This value should be valid terraform syntax - like a variable definition file.
    Variable values set in variables override any given in var_files.
    See action documentation for details, e.g. terraform-plan.

Deprecated

  • The var input has been deprecated due to the following limitations:

    • Only primitive types can be set with var - number, bool and string.
    • String values may not contain a comma.
    • Values set with var will be overridden by values contained in var_files

    variables is the preferred way to set input variables.

v1.8.0

05 Apr 08:02
Immutable release. Only release title and notes can be modified.
578788e

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/terraform-plan@v1.8.0
      with:
        path: my-terraform-config

You can specify an action version as:

  • @v1.8.0 to use exactly this release
  • @v1.8 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_CLOUD_TOKENS environment variable for use with Terraform Cloud/Enterprise etc
    when using module registries or a remote backend.

  • TERRAFORM_SSH_KEY environment variable to configure an SSH private key to use for
    Git Repository module sources.

See individual actions for details, e.g. terraform-validate.