Page MenuHomeDevCentral

Format .tf files automatically
ClosedPublic

Authored by dereckson on Mon, Aug 3, 22:54.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Aug 14, 15:51
Unknown Object (File)
Fri, Aug 14, 15:51
Unknown Object (File)
Fri, Aug 14, 15:51
Unknown Object (File)
Fri, Aug 14, 15:51
Unknown Object (File)
Fri, Aug 14, 15:51
Unknown Object (File)
Fri, Aug 14, 15:51
Unknown Object (File)
Fri, Aug 14, 15:51
Unknown Object (File)
Fri, Aug 14, 04:21
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.Tue, Aug 4, 18:18
This revision was automatically updated to reflect the committed changes.