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 SQL queries
Search Everything
Filter by type, module, or address across every state
Every Change, Tracked
Complete historical record. Every terraform apply creates a transaction with full state snapshot, logs, timestamps, and author.
One console, every corner of your infrastructure
The wireframes above are a sample. The console covers the full surface of the platform—everything below ships in every deployment, self-hosted included.
SQL editor with autocomplete and a schema browser. Save queries and reuse them across the team.
Turn saved queries into charts and compose them into dashboards your team actually checks.
Browse every state, workspace, module, and resource instance—with filters instead of file archaeology.
Navigate dependencies with intentional depth limits—legible by design.
Pick any resource and see everything downstream of it, ranked by graph distance, before you change it.
Every transaction—who ran it, what changed, in which states—from CI, laptops, and agents alike.
Fleet spend at a glance: per-state costs, attribution by tag, history, and billing connections. See Stategraph Cost.
Find cloud resources Terraform doesn't manage and generate the import HCL to adopt them.
Field-scoped search across every state—by type, module, or address.
Import existing .tfstate files in, export standard .tfstate back out. Adoption stays reversible.
Manage users, admin roles, and API access tokens—create, list, and revoke from one place.
Guided onboarding that takes a new tenant from empty to imported, queried, and planning.
What Makes Stategraph Different
SQL for Infrastructure
No other tool offers a full SQL query interface 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 an intelligent, queryable database. SQL, dependency graphs, transaction history, cost, and gap analysis—one unified console, included in every deployment.