← All repos

stategraph

Terraform without the state file bottleneck

automationcloud-managementdevopsgithub-actionsinfrastructure-as-codeinfrastructure-automationinfrastructure-orchestrationocamlopentofupulumitacosterraformterraform-github-actions
Browse cluster: OCaml Systems and Utilities
5,550commits
90contributors
19languages

Tech stack & purpose

Stategraph is an infrastructure-automation platform that replaces Terraform's global state lock with a dependency graph stored in PostgreSQL, enabling concurrent changes and faster operations proportional to the size of a change rather than the entire state file. The project comprises two main components: Stategraph Orchestration, a GitOps tool for Terraform and OpenTofu on GitHub and GitLab with pull-request automation and policy enforcement, and Stategraph Infrastructure as a Database, a state engine that removes the global lock through graph-based state management. The codebase is written primarily in OCaml for the backend, with the Terrateam Iris web interface built in Svelte and TypeScript, and the project is maintained as open-source software under the MPL-2.0 license with commercial hosted and self-hosted options available.

Community & reference links

Languages

OCaml
77.6%
HCL
16.2%
Svelte
3.9%
TypeScript
0.9%
Go Template
0.4%
Python
0.2%
CSS
0.2%
PLpgSQL
0.2%
Go
0.1%
Shell
0.1%
JavaScript
0.1%
Rust
0.1%
Makefile
0.0%
C
0.0%
Dockerfile
0.0%
HTML
0.0%
Assembly
0.0%
Standard ML
0.0%
Dune
0.0%

Contributors (top 30 of 90)