Skip to main content

tfaction

Who uses tfaction? | Release Note | MIT LICENSE

tfaction is a framework for a Monorepo to build high-level Terraform workflows using GitHub Actions. You don't have to run terraform apply in your laptop, and don't have to reinvent the wheel for Terraform Workflows anymore.

Features

Dynamic build matrix for Monorepo

image

Notify the result of CI to pull requests with tfcmt, github-comment, and reviewdog

Result of terraform plan

image

Result of tfsec

image

Result of trivy

image

Result of tflint

image

Result of conftest

image

Update related pull requests automatically when the remote state is updated

image

Create a pull request automatically to follow up the apply failure

image

image

Support tfmigrate

tfmigrate plan

image

tfmigrate apply

image

Update dependencies by Renovate safely

CI fails if there are changes, which enables you to merge pull requests without unexpected changes safely.

image

Update .terraform.lock.hcl automatically

image

--

image

Format Terraform Configuration

image

--

image

Drift Detection

image

Available versions

caution

We don't add */dist/*.js in the main branch and feature branches anymore. So you can't specify main and feature branches as versions.

# This never works as setup/dist/index.js doesn't exist.
uses: suzuki-shunsuke/tfaction/setup@main

The following versions are available.

  1. Release versions
uses: suzuki-shunsuke/tfaction/setup@v1.12.1
  1. Pull Request versions: These versions are removed when we feel unnecessary. These versions are used to test pull requests.
uses: suzuki-shunsuke/tfaction/setup@pr/2017
  1. latest branch: This branch is built by CI when the main branch is updated. Note that we push commits to the latest branch forcibly.
uses: suzuki-shunsuke/tfaction/setup@latest

Pull Request versions and the latest branch are unstable. These versions are for testing. You should use release versions in production.

Who uses tfaction?

Please see here.

Blog, Slide

Release Notes

https://github.com/suzuki-shunsuke/tfaction/releases

LICENSE

MIT