MQL: SQL for Terraform State
Query your infrastructure with SQL. Autocomplete, real-time validation, schema browser, and export capabilities.
Autocomplete
Table names, column names, and SQL keywords as you type
Validation
Real-time syntax checking with error highlighting
Schema Browser
Interactive schema with column types and documentation
Export
CSV and JSON export with streaming for large results
Graphs That Make Sense
Most tools try to show everything and produce illegible graphs. Stategraph intentionally limits complexity and surfaces alternative exploration paths when a graph exceeds readable depth.
Traditional Tools
Stategraph Console
Find Anything
Browse 10,000+ resources with filtering
Custom Dashboards
Build charts from MQL queries
Search Everything
Full-text across all infrastructure
Every Change, Tracked
Complete historical record. Every terraform apply creates a transaction with full state snapshot, logs, timestamps, and author.
What Makes Stategraph Different
SQL for Infrastructure
No other tool offers a full SQL-like query language (MQL) for Terraform state. Write queries with SELECT, JOIN, WHERE, GROUP BY, and JSON operators.
Legible Graphs
Intentionally refuses to render illegible graphs. Depth-limited visualization with alternative exploration paths instead of overwhelming noise.
Transaction-Based Tracking
Complete historical record of every infrastructure change. Full state snapshots, logs, timestamps, and author information for every Terraform operation.
Gap Analysis
Find unmanaged cloud resources (AWS, GCP, Azure) not in Terraform state. Generate import blocks and HCL code to bring them under management.
Transform Your Terraform State
From flat files to intelligent, queryable database. SQL interface, dependency visualization, transaction history, and 11 more products in one unified console.