Page MenuHomeDevCentral

Format .tf files automatically
ClosedPublic

Authored by dereckson on Mon, Aug 3, 22:54.
Tags
None
Referenced Files
F42548658: D4140.diff
Sat, Aug 8, 09:48
Unknown Object (File)
Wed, Aug 5, 11:07
Unknown Object (File)
Wed, Aug 5, 10:18
Unknown Object (File)
Wed, Aug 5, 10:18
Unknown Object (File)
Wed, Aug 5, 08:37
Unknown Object (File)
Wed, Aug 5, 08:11
Unknown Object (File)
Tue, Aug 4, 08:58
Unknown Object (File)
Tue, Aug 4, 08:58
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.Tue, Aug 4, 18:18
This revision was automatically updated to reflect the committed changes.