Page MenuHomeDevCentral

Format .tf files automatically
ClosedPublic

Authored by dereckson on Aug 3 2026, 22:54.
Tags
None
Referenced Files
F48996062: D4140.id.diff
Wed, Sep 9, 20:46
F48994389: D4140.id.diff
Wed, Sep 9, 20:34
F48989980: D4140.id10860.diff
Wed, Sep 9, 20:00
F48989466: D4140.id10862.diff
Wed, Sep 9, 19:56
F48977580: D4140.id10863.diff
Wed, Sep 9, 18:27
Unknown Object (File)
Mon, Sep 7, 06:48
Unknown Object (File)
Sun, Sep 6, 22:36
Unknown Object (File)
Sun, Sep 6, 21:25
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 Passed
Unit
No Test Coverage
Branch
tofu-fmt
Build Status
Buildable 6773
Build 7061: arc lint + arc unit

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.