Terrateam is an open-source GitOps platform that automates Terraform in pull requests while keeping cloud credentials and state inside private runners.
Terrateam executes infrastructure plans and changes through pull request comments while keeping all cloud credentials and state files inside private runners. Written in OCaml with a PostgreSQL backend, the control plane coordinates concurrency locks and drift detection without storing cloud keys on third-party servers. Automation workflows and access rules live as versioned code inside the repository.
Terraform defines cloud resources, while commercial platforms like Terraform Cloud manage team collaboration and run execution. That hosted model introduces privacy risks: organizations must upload administrative cloud credentials, environment variables, and state files containing plaintext secrets to an external vendor. Terrateam reverses this approach by decoupling orchestration from execution. The self-hosted server acts solely as a coordinator, dispatching jobs to private runners inside your own network where Terraform or OpenTofu runs directly against cloud accounts.
This architecture ensures sensitive credentials and infrastructure state never leave private perimeters. Teams can use temporary OpenID Connect tokens rather than storing static cloud keys. Workflows and approval rules live in a configuration file within the repository, ensuring changes undergo standard peer review. The trade-off is operational overhead: while hosted SaaS handles its own maintenance, Terrateam requires operating a containerized server and a PostgreSQL database.
Terrateam vs Terraform — which should you choose? Terraform defines the infrastructure resources to create, while Terrateam provides the orchestration layer that executes those configurations safely inside pull requests. They work together, with Terrateam replacing hosted tools like Terraform Cloud to keep credentials and state files private.
Is Terrateam free for commercial use? Yes. The core control plane and runner components are open source under MPL-2.0 with no seat fees, while advanced governance features require a commercial tier.
Can Terrateam run on private runners? Yes. Terrateam coordinates workflows that execute on self-hosted GitHub Actions runners, ensuring runs stay inside your internal infrastructure.
Terrateam is an appealing choice for teams seeking automated infrastructure workflows without surrendering private cloud keys and state files to an external service. Ongoing development with commits through September 2026 and an MPL-2.0 license covering its core control plane make it a dependable foundation for organizations ready to manage their own server and database. Teams that lack the resources to maintain self-hosted infrastructure may find a fully managed commercial platform simpler to operate.
Go, gRPC and Protobuf done right, LLM agents in production, and the hard parts of shipping a first product.
Show that Terrateam is listed as an open-source alternative. Paste into your README: