logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

Tofu Format - Format Tofu Configuration | Online Free DevTools by Hexmos

Format Tofu configuration files with Tofu Format. Ensure consistent and readable infrastructure-as-code. Free online tool, no registration required.

tofu-fmt

Format configuration according to OpenTofu language style conventions. More information: https://opentofu.org/docs/cli/commands/fmt/.

  • Format the configuration in the current directory:

tofu fmt

  • Format the configuration in the current directory and subdirectories:

tofu fmt -recursive

  • Display diffs of formatting changes:

tofu fmt -diff

  • Do not list files that were formatted to stdout:

tofu fmt -list=false

See Also