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@v7
- uses: dflook/terraform-plan@v3.0.1
with:
path: my-terraform-configYou can specify an action version as:
@v3.0.1to use exactly this release@v3.0to use the latest patch release for this specific minor version@v3to use the latest patch release for this specific major version
Changes
Changed
.tf.json/.tofu.jsonare now read for terraform/tofu version constraints, backend configuration, and sensitive variable definitions, in addition to.tf/.tofufiles. Previously only.tf/.tofufiles were read for this information.
Fixed
-
Automatic masking of the
variablesinput in PR comments, for variables that are defined as sensitive in.tf.json/.tofu.jsonfiles now works correctly.
Previously these could appear in PR comments unmasked if:- The variable was defined sensitive in a
.tf.json/.tofu.jsonfile (not a.tf/.tofufile) - The variable was passed using the
variablesinput - No
labelinput was set
Thanks to lokesh0186 for reporting this issue.
- The variable was defined sensitive in a