terraform fmt
0.0% Savings
0 Commands
0 Tokens saved
2 Tests
Install
Safety checks passed
Filter definition
command = "terraform fmt"
strip_empty_lines = true
[on_success]
output = "✓ formatted"
[on_failure]
tail = 10
Examples
failure shows error output
~30 tokens → ~29 tokens
(3% saved)
Raw output
Error: Invalid expression
on main.tf line 5:
5: name = var.name {
An argument definition must end with a newline. Filtered output
Error: Invalid expression
on main.tf line 5:
5: name = var.name {
An argument definition must end with a newline. success shows formatted message
~5 tokens → ~3 tokens
(40% saved)
Raw output
main.tf variables.tf
Filtered output
✓ formatted
Warning: Community filters are third-party code. Review the filter definition above before installing it in production environments.Browse all filters