All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
The actions are versioned as a suite. Some actions may have no change in behaviour between versions.
When using an action you can specify the version as:
@v1.9.2
to use an exact release@v1.9
to use the latest patch release for the specific minor version@v1
to use the latest patch release for the specific major version
1.9.2 - 2021-05-05
- Slow state locking messages were being considered part of the plan, which could cause apply actions to be aborted.
1.9.1 - 2021-04-21
- Terraform 0.15 plans were not being extracted correctly, causing failures to apply.
1.9.0 - 2021-04-10
-
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.
-
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 invar_file
s
variables
is the preferred way to set input variables. - Only primitive types can be set with
1.8.0 - 2021-04-05
-
TERRAFORM_CLOUD_TOKENS
environment variable for use with Terraform Cloud/Enterprise etc when using module registries or aremote
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.
1.7.0 - 2021-04-02
- Support for the
pull_request_target
event - Support for the
pull_request_review
event
- Terraform 0.15 compatibility
1.6.0 - 2021-02-25
-
PR comments use a one line summary of the terraform output, with the full output in a collapsable pane.
If a plan is short the output is shown by default. This can be controlled with the
TF_PLAN_COLLAPSE_LENGTH
environment variable for the dflook/terraform-plan action.
- Now makes far fewer github api requests to avoid rate limiting.
1.5.2 - 2021-01-16
- Multiple steps in the same job now only download the terraform binary once.
1.5.1 - 2020-12-05
- PR comments had an empty plan with Terraform 0.14
1.5.0 - 2020-09-18
- PR comments use HCL highlighting
1.4.2 - 2020-09-02
- Using a personal access token instead of the Actions provided token now works. This can be used to customise the PR comment author
1.4.1 - 2020-08-11
- Latest Terraform versions with a patch version of '0' are correctly detected. If not otherwise specified the latest terraform version is used. As of now the latest is v0.13.0.
1.4.0 - 2020-07-25
-
Better support for the
issue_comment
andpull_request_review_comment
events in the dflook/terraform-plan and dflook/terraform-apply actionsThis allows using plan PR comments when triggered in reponse to those events, enabling workflows like applying a plan using a comment.
- Plan errors are now correctly added to the workflow log.
1.3.1 - 2020-07-23
backend_config_file
andvar_file
now work correctly. Paths should be relative to the Action workspace.
1.3.0 - 2020-07-22
- Support for the
remote
backend.
1.2.0 - 2020-07-18
- Complex terraform types are now available as action outputs, which results in a json string approximating the type. See dflook/terraform-output for details. This also affects the outputs of dflook/terraform-apply and dflook/terraform-remote-state.
- File path in failing checks is now correct with respect to the repository, and can be clicked through to see the annotation in context. This affects the dflook/terraform-fmt-check and dflook/terraform-validate actions.
1.1.0 - 2020-07-07
- The root-level outputs of a terraform configuration are now exposed directly by the dflook/terraform-apply action, as if the dflook/terraform-output action has been run immediately after.
1.0.0 - 2020-07-06
First release of the GitHub Actions:
- dflook/terraform-version
- dflook/terraform-remote-state
- dflook/terraform-output
- dflook/terraform-validate
- dflook/terraform-fmt-check
- dflook/terraform-fmt
- dflook/terraform-check
- dflook/terraform-plan
- dflook/terraform-apply
- dflook/terraform-destroy
- dflook/terraform-new-workspace
- dflook/terraform-destroy-workspace