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

Add support to Open Tofu #104

Open matihost opened 11 months ago

matihost commented 11 months ago

Either

1)add "tofu-" equivalents for existing hooks "terraform-" 2) or rename "terraform-" to for example "tf-" and autodetect whether tofu is present

For example: Rename: terraform-validate to tf-validate

and detect tofu or terraform binary similarly like terragrunt does it today.