terraform validate
0.0% Savings
0 Commands
0 Tokens saved
2 Tests
Install
Safety checks passed
Filter definition
command = "terraform validate"
strip_empty_lines = true
[on_success]
output = "✓ configuration valid"
[on_failure]
tail = 20
Examples
failure shows error details
~96 tokens → ~95 tokens
(1% saved)
Raw output
Error: Missing required argument
on main.tf line 1, in resource "aws_lambda_function" "api":
1: resource "aws_lambda_function" "api" {
The argument "function_name" is required, but no definition was found.
Error: Unsupported argument
on main.tf line 3, in resource "aws_lambda_function" "api":
3: unknown_arg = "value"
An argument named "unknown_arg" is not expected here. Filtered output
Error: Missing required argument
on main.tf line 1, in resource "aws_lambda_function" "api":
1: resource "aws_lambda_function" "api" {
The argument "function_name" is required, but no definition was found.
Error: Unsupported argument
on main.tf line 3, in resource "aws_lambda_function" "api":
3: unknown_arg = "value"
An argument named "unknown_arg" is not expected here. success shows valid message
~9 tokens → ~5 tokens
(44% saved)
Raw output
Success! The configuration is valid.
Filtered output
✓ configuration valid
Warning: Community filters are third-party code. Review the filter definition above before installing it in production environments.Browse all filters