Page MenuHomeDevCentral

Format .tf files automatically
ClosedPublic

Authored by dereckson on Aug 3 2026, 22:54.
Tags
None
Referenced Files
F51982863: D4140.id10863.diff
Tue, Sep 29, 12:46
Unknown Object (File)
Mon, Sep 21, 01:04
Unknown Object (File)
Sat, Sep 19, 11:17
Unknown Object (File)
Sat, Sep 19, 07:46
Unknown Object (File)
Sat, Sep 19, 07:43
Unknown Object (File)
Sat, Sep 19, 07:43
Unknown Object (File)
Sat, Sep 19, 07:42
Unknown Object (File)
Sat, Sep 19, 07:42
Subscribers
None

Details

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.

Diff Detail

Repository
rDEVCS Nasqueron codestyle
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

dereckson created this revision.

Avoid too many blank lines in Markdown rendering

Actually rewrite the file too

This revision is now accepted and ready to land.Aug 4 2026, 18:18
This revision was automatically updated to reflect the committed changes.