v1.37.0
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.37.0
to use exactly this release@v1.37
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
-
Experimental support for OpenTofu.
New tofu actions have been added that are identical to the terraform actions, but uses OpenTofu instead of Terraform for versions >=1.6.0:
- dflook/tofu-version
- dflook/tofu-remote-state
- dflook/tofu-output
- dflook/tofu-validate
- dflook/tofu-fmt-check
- dflook/tofu-fmt
- dflook/tofu-check
- dflook/tofu-plan
- dflook/tofu-apply
- dflook/tofu-destroy
- dflook/tofu-new-workspace
- dflook/tofu-destroy-workspace
- dflook/tofu-unlock-state
As OpenTofu currently only has pre-release versions, OpenTofu will only be selected by using the exact version number.
The easiest way to do this is by setting theOPENTOFU_VERSION
environment variable, e.g in your workflow:env: OPENTOFU_VERSION: 1.6.0-alpha3
Setting
OPENTOFU_VERSION
with thedflook/terraform-*
actions will cause it to behave as if it was thedflook/tofu-*
action.