Infrastructure & Operations · Cloud Infrastructure Management
Terrateam
Pull-request automation for Terraform and related infrastructure tools
Terrateam is an open-source GitOps automation platform for teams that plan and apply infrastructure through pull requests. Its core uses MPL-2.0, with commercial Enterprise features and hosted SaaS. Terrateam supports Terraform, OpenTofu, Terragrunt, Pulumi, and CDKTF, and its repository identifies Stategraph as the owning organization.
Renamed. Terrateam now uses the Stategraph name; its repository release history is published under Stategraph, including the August 24, 2026 release.
Key facts
- License
- MPL-2.0
- Main language
- OCaml, JavaScript
- Maintainer
- Stategraph, formerly Terrateam
- First released
- 2024 open-source release; first commit 2021
- Latest release
- 20260824-1056-27aa762, August 24, 2026
- GitHub stars
- About 1.3k, October 2026
- Hosted option
- Terrateam Cloud, free tier; Basic listed at $134/month annually
What Terrateam is
Terrateam automates infrastructure changes through pull requests for teams managing multiple repositories, environments, or workspaces. The current README says the project is now part of Stategraph, which presents a database product alongside Terrateam while keeping Terrateam usable independently. Terrateam’s overview describes a first commit in 2021 and an open-source release in 2024. The public repository has more than 5,000 commits and about 1,300 stars in the October 2026 GitHub restore point. The codebase is primarily OCaml, and the maintainers describe daily releases plus support for GitHub and GitLab workflows. The project targets platform teams that want infrastructure execution, approvals, and coordination attached to normal code review.
How it works
A Terrateam workflow starts when a pull request changes infrastructure. The service identifies affected directory and workspace combinations, runs a plan, and posts logs and results in the pull request and web interface. Approval and branch rules control apply, with pre-merge and post-merge execution, automerge, rollbacks, batch runs, layered runs, stacks, and dependency coordination. Tag queries allow one configuration to describe many environments. Apply-only locks permit parallel plans while blocking conflicting applies. The platform also connects OPA, Rego, Checkov, and Infracost to review workflows. Users can run Terraform, OpenTofu, Terragrunt, Pulumi, CDKTF, or another command-line tool through custom workflows and runners.
Architecture and recent releases
Terrateam is written in OCaml and operates as a stateless orchestration service around customer runners and state backends. Self-hosted deployment uses Docker Compose or Kubernetes, with AWS ECS also documented. PostgreSQL stores application state, plans, and audit logs in the self-hosted architecture. The project supports GitHub, GitLab, OIDC, private runners, cloud-provider integrations, and a web interface for runs and debugging. The repository changed ownership context during the Stategraph transition, and current setup documentation uses Stategraph container and repository names. The open-source core continued receiving frequent changes through 2026. Stategraph also presents a database-oriented path for teams seeking faster plans and parallel execution.
License and pricing
The Open Source Edition uses MPL-2.0 and is free to self-host. MPL-2.0 permits commercial use and modification while preserving license obligations for covered files. The open-source tier includes the core workflow engine, but limits an installation to three monthly active users, defined as people who trigger a plan or apply. Runs are unlimited. Hosted SaaS adds enterprise capabilities such as RBAC, centralized configuration, Gatekeeper approval controls, and additional drift schedules. The overview lists a free hosted tier, a Basic plan at $134 per month when billed annually with ten users, and a custom Enterprise plan. Self-hosted Enterprise uses a commercial license and is priced through sales.
Limitations and how it compares
Terrateam’s broader capabilities introduce configuration and coordination work beyond what a one-repository CI script requires. Its open-source tier also limits use to three users, which may push larger teams toward a hosted or commercial option. Atlantis provides a simpler open-source alternative, with fewer coordination requirements for teams seeking a smaller installation. Digger keeps execution closely connected to existing CI, which can reduce changes to established workflows. Spacelift supplies a managed control plane and governance features, reducing the infrastructure operation required from users. Choose Terrateam when tag-based coordination, multiple IaC tools, parallel plans, and self-hosting matter. Choose Atlantis for a smaller installation, Digger for CI-native execution, or Spacelift for a managed service with less infrastructure operation.
Main features
- GitOps pull requests. Plans and applies Terraform and related infrastructure changes through GitHub or GitLab pull requests, with configuration and operation remaining part of the deployment workflow.
- Parallel execution. Runs independent plans in parallel while apply-only locks prevent conflicting infrastructure changes, with configuration and operation remaining part of the deployment workflow.
- Workspace coordination. Uses tags, stacks, dependencies, and layered workflows to coordinate many environments and repositories, with configuration and operation remaining part of the deployment workflow.
- Policy enforcement. Supports OPA, Rego, Checkov, built-in policy checks, approvals, and enterprise Gatekeeper controls, with configuration and operation remaining part of the deployment workflow.
- Drift detection. Schedules drift checks and reports changes, with multiple schedules available in the Enterprise Edition, with configuration and operation remaining part of the deployment workflow.
- Cost estimation. Integrates Infracost so proposed infrastructure changes can include cost estimates in review workflows, with configuration and operation remaining part of the deployment workflow.
- Multi-tool support. Runs Terraform, OpenTofu, Terragrunt, Pulumi, CDKTF, and custom command-line workflows, with configuration and operation remaining part of the deployment workflow.
Self-hosting Terrateam
Terrateam’s open-source self-hosted edition can start with Docker Compose and run in production on Kubernetes or AWS ECS. The setup wizard creates the GitHub App or GitLab integration and credentials. The architecture uses a Terrateam server, PostgreSQL for application state, plans, and audit logs, plus customer-controlled runners and infrastructure state. Kubernetes deployments use Helm and can scale server replicas. The documentation recommends managed PostgreSQL or a highly available PostgreSQL cluster for production, together with regular database backups. No general minimum CPU or memory requirement is published. Enterprise images and governance features require a commercial license.
Strengths
- The core engine supports Terraform, OpenTofu, Terragrunt, Pulumi, and CDKTF.
- Tag queries and stacks coordinate large multi-environment repositories.
- MPL-2.0 licensing permits commercial self-hosting of the open-source core.
- Docker Compose, Kubernetes, and ECS cover common deployment patterns.
Drawbacks
- The free open-source tier allows only three monthly active users per installation.
- Enterprise governance features require hosted SaaS or a commercial self-hosted license.
- The Stategraph ownership and repository transition adds naming complexity to installation documentation.
What teams replace with it
Teams usually evaluate Terrateam when they want to move off HCP Terraform, Spacelift, Atlantis Cloud.
For side-by-side commercial comparisons, browse our alternatives hub.
Frequently asked questions
Is Terrateam free?
The Open Source Edition is free to self-host under MPL-2.0, with unlimited runs and a limit of three monthly active users per installation. Terrateam Cloud has a free hosted tier. Larger teams can use paid hosted plans or obtain a commercial Enterprise license for self-hosting.
Can Terrateam be used commercially?
Yes. The core uses MPL-2.0, permitting commercial use subject to its license obligations. Enterprise features, including RBAC, centralized configuration, Gatekeeper, and additional drift schedules, are commercial capabilities provided through hosted SaaS or a licensed self-hosted build. Availability, usage rights, and applicable obligations depend on the selected deployment model and the governing commercial license terms.
How do I self-host Terrateam?
The documented quick start uses Docker Compose and a setup wizard. Production deployments can use Kubernetes with Helm or AWS ECS. PostgreSQL is required for application state, plans, and audit logs. The deployment connects to GitHub or GitLab and uses customer runners and state backends.
How does Terrateam compare with Digger?
Both automate infrastructure changes through pull requests. Terrateam emphasizes tag queries, stacks, dependency coordination, multiple IaC tools, a full UI, and self-hosted orchestration. Digger emphasizes running Terraform inside an existing CI pipeline. Teams should choose based on coordination needs and preferred execution model.
Does Terrateam keep state and secrets?
The platform relies on customer-controlled runners, cloud credentials, and infrastructure state backends. Self-hosted PostgreSQL stores application state, plans, and audit logs. Operators are responsible for securing PostgreSQL, runner credentials, Git provider tokens, logs, backups, and the configured state backend, along with protecting access to the surrounding infrastructure and systems.
Similar projects to compare
- DiggerMITDigger is an open-source infrastructure-as-code orchestration tool for Terraform and OpenTofu, aimed at teams using pull-request workflows and existing CI systems. The repository uses the MIT license, and Digger publishes both a self-hosted orchestrator and a hosted cloud product. The project now uses the OpenTaco name, while Digger remains the company and legacy product identity.
- OpenTofuMPL-2.0OpenTofu is an infrastructure as code tool for teams managing cloud, on-premises, and service resources through versioned configuration. It is governed by the Linux Foundation and licensed under MPL-2.0, which permits commercial use under license conditions. OpenTofu has no official hosted service, although third-party platforms can run and coordinate it.
- CozystackApache-2.0Cozystack is an Apache-2.0 cloud platform for operators building private clouds, public-cloud backends, or development environments on owned infrastructure. It manages Kubernetes clusters, virtual machines, databases, networking, and storage. The software is free to run, while Ænix offers optional commercial support and platform services. There is no single project-hosted Cozystack service.
- OpenStackApache-2.0OpenStack is a modular infrastructure as a service platform for teams building private, hosted private, public, edge, or hybrid clouds. The Open Infrastructure Foundation and its community maintain it under Apache-2.0. The software has no license fee, while hosted providers charge for infrastructure, support, or managed operations.
- PulumiApache-2.0Pulumi is an open-source infrastructure as code platform for developers and infrastructure teams. Its Apache-2.0 CLI and SDK support TypeScript, Python, Go, C#, Java, and YAML, while Pulumi Cloud adds managed state and team controls. Pulumi Cloud has a free tier, paid plans from $40 per month, and enterprise self-hosting.