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
- Run
terraform plan
in pull requests, and runterraform apply
by merging pull requests into the default branch - Dynamic build matrix for Monorepo
- CI is run on only changed working directories
- Notify the results of CI to pull requests using tfcmt, github-comment, and reviewdog
- You don't have to check CI log
- Run
terraform apply
safely using the plan file created by the merged pull request'sterraform plan
- Update related pull requests automatically when the remote state is updated
- Keep the result of CI including
terraform plan
up-to-date
- Keep the result of CI including
- Create a pull request automatically to follow up the apply failure
- Support linters
- Support tfmigrate
- Update dependencies by Renovate safely
- Prevent Renovate from applying unexpected changes, and enables to merge pull requests without changes safely
- Workflows for Terraform Modules
- Scaffold, Test, Release Modules
- Workflows for scaffolding
- Scaffold a working directory, Terraform Module, pull request for tfmigrate
- Update .terraform.lock.hcl automatically
- A commit is pushed automatically, so you don't have to update .terraform.lock.hcl manually
- Format Terraform Configuration automatically
- A commit is pushed automatically, so you don't have to format Terraform configuration manually
- Drift Detection
- Detect the drift periodically and manage the drift as GitHub Issues
- Support Terraform compatible tools such as OpenTofu and Terragrunt
- Support running CI on working directories that depend on a updated local path Module
Dynamic build matrix for Monorepo
Notify the result of CI to pull requests with tfcmt, github-comment, and reviewdog
Result of terraform plan
Result of tfsec
Result of trivy
Result of tflint
Result of conftest
Update related pull requests automatically when the remote state is updated
Create a pull request automatically to follow up the apply failure
tfmigrate plan
tfmigrate apply
Update dependencies by Renovate safely
CI fails if there are changes, which enables you to merge pull requests without unexpected changes safely.
Update .terraform.lock.hcl automatically
--
Format Terraform Configuration
--
Who uses tfaction?
Please see here.
Blog, Slide
- English
- Japanese
Release Notes
https://github.com/suzuki-shunsuke/tfaction/releases
Versioning Policy
suzuki-shunsuke/versioning-policy v0.1.0, which is compatible with Semantic Versioning 2.0.0.