suzuki-shunsuke / tfaction

Framework for Monorepo to build high level Terraform Workflows by GitHub Actions

Home Page:https://suzuki-shunsuke.github.io/tfaction/docs/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Support OpenTofu

suzuki-shunsuke opened this issue · comments

Feature Overview

Support using OpenTofu instead of Terraform.

https://opentofu.org/

Why is the feature needed?

OpenTofu is a fork of Terraform that is open-source, community-driven, and managed by the Linux Foundation.

Some people use OpenTofu instead of Terraform.
It's great if tfaction supports OpenTofu too.

Example Code

GitHub Actions

tfaction-root.yaml

opentofu:
  enabled: true

target_groups:
- working_directory: aws/

tfaction.yaml

Note

No response

At this moment if you need to have a support of Terraform as well as OpenTofu (and Terragrunt :) ) in one tool you can use https://github.com/tofuutils/tenv which my team wrote some months ago. A lot of users switched to that tool to unify version management in the world of Terraform.

You're welcome to open any issues or contribute to tenv.

Thank you for sharing.
Actually, I've contributed to the project already 😄

image