Skip to content

Releases: dflook/terraform-github-actions

v1.18.0

30 Oct 11:42
71821fa
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.18.0 to use exactly this release
  • @v1.18 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 replace input for dflook/terraform-plan and dflook/terraform-apply

    This instructs terraform to replace the specified resources, and is available with terraform versions that support replace (v0.15.2 onwards).

    with:
      replace: |
        random_password.database
  • A target input for dflook/terraform-plan to match dflook/terraform-apply

    target limits the plan to the specified resources and their dependencies. This change removes the restriction that target can only be used with auto_approve.

    with:
      target: |
        kubernetes_secret.tls_cert_public
        kubernetes_secret.tls_cert_private

v1.17.3

29 Oct 00:00
86a7aa5
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.17.3 to use exactly this release
  • @v1.17 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

  • Compatability with Terraform v1.0.10 - Thanks kylewlacy !
  • Now makes even fewer github api requests to avoid rate limiting.

v1.17.2

13 Oct 18:31
dbe625d
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.17.2 to use exactly this release
  • @v1.17 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

  • Add terraform plan output that was missing from the workflow log

v1.17.1

06 Oct 15:39
1b9f8ca
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.17.1 to use exactly this release
  • @v1.17 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

  • Fix ownership of files created in runner mounted directories

    As the container is run as root, it can cause issues when root owned files are leftover that the runner can't cleanup.
    This would only affect self-hosted, non-ephemeral, non-root runners.

v1.17.0

04 Oct 17:22
6c25198
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.17.0 to use exactly this release
  • @v1.17 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 and var_file support for remote operations in Terraform Cloud/Enterprise.

    The Terraform CLI & Terraform Cloud/Enterprise do not support using variables or variable files with remote plans or applies.
    We can do better. variables and var_file input variables for the plan, apply & check actions now work, with the expected behavior.

v1.16.0

04 Oct 11:56
a9cf2c5
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.16.0 to use exactly this release
  • @v1.16 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 has gained two new outputs:

    • json_plan_path is a path to the generated plan in a JSON format file
    • text_plan_path is a path to the generated plan in a human readable text file

    These paths are relative to the GitHub Actions workspace and can be read by other steps in the same job.

v1.15.0

20 Sep 12:39
2e109c2
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.15.0 to use exactly this release
  • @v1.15 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

Fixed

v1.14.0

15 Sep 21:01
8e20e61
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.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
283f2ac
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.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
a69b277
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.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