gruntwork-io / pre-commit

A collection of pre-commit hooks used by Gruntwork tools
https://gruntwork.io/
Apache License 2.0
484 stars 155 forks source link

OpenTofu Support #108

Open rhoades-brown opened 9 months ago

rhoades-brown commented 9 months ago

Describe the solution you'd like

As a founding member of OpenTofu, it would be advantageous for Gruntworks very useful pre-commit hooks to support it.

Describe alternatives you've considered

No. It seems like a no-brainer.

Additional context

I have implemented this in #107

kvendingoldo commented 5 months ago

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.