Terrateam automates Terraform plans and applies in pull requests. Open source, integrates with GitHub and GitLab, and easy to self-host.
- Infrastructure as Code automation for Terraform, OpenTofu, Terragrunt, CDKTF, Pulumi, any CLI
- Flexible policies, approvals, and cost checks
- Multi-environment coordination and deployment workflows
- Reporting UI to track runs, pull requests, locks, and more
![]() Terrateam PR comment
|
![]() Terrateam Run Dashboard
|
- GitOps: Runs
terraform plan
andapply
in pull requests. Controlled by a.terrateam/config.yml
file that maps directories, tags, policies, and approvals. - Flexible: Works with any Terraform-compatible CLI: OpenTofu, Terragrunt, CDKTF, Pulumi, and more. Fully configured through YAML.
- Policies: Enforce rules with Rego, Checkov, or built-in policies. Require approvals by team, role, or user.
- Drift and cost detection: Catch infrastructure drift and show cost estimates in pull requests automatically.
- Self-hostable and horizontally scalable: Stateless by design. Deploy Terrateam on your infrastructure and scale out using standard Postgres and CI runners.
# Clone the repository
git clone https://github.com/terrateamio/terrateam
cd terrateam/docker/terrat
# Run the setup
docker-compose up setup
# The Terrateam setup wizard will be available at http://localhost:3000
- GitOps pull request automation
- Pre and post-merge applies
- RBAC + OIDC integration
- Policy enforcement (OPA, Rego, Checkov, built-in)
- Cost estimation
- Safe parallel execution with locking
- Cross-environment and dependency coordination
- Config builder for advanced workflows
- Self-hostable (server and private runners)
Configure workflows via .terrateam/config.yml
. See Configuration Reference.
We welcome contributions! See CONTRIBUTING.md or join our Slack.
Terrateam is MPL-2.0 licensed. Some enterprise features are under a separate enterprise license.