HomeDevCentral

Format .tf files automatically

Description

Format .tf files automatically

Summary:
We'd like to standardize on OpenTofu, but as long as some providers aren't
available for FreeBSD, we'll need to use a mix of OpenTofu and Terraform.

The tf-format pre-commit check detects which command is available
and runs either tofu fmt or terraform fmt accordingly.

Differential Revision: https://devcentral.nasqueron.org/D4140

Details

Provenance
derecksonAuthored on Mon, Aug 3, 22:37
derecksonPushed on Tue, Aug 4, 18:19
Differential Revision
D4140: Format .tf files automatically
Parents
rDEVCS49880f5a1b4e: Update PHP codestyle for JetBrains IDE
Branches
Unknown
Tags
Unknown
References
HEAD -> main, tag: v0.2.0