Skip to content

Terrateam is open-source GitOps infrastructure orchestration. It integrates with GitHub to automate Terraform, OpenTofu, CDKTF, Terragrunt, and Pulumi workflows through pull requests.

License

Notifications You must be signed in to change notification settings

terrateamio/terrateam

Terrateam

GitHub Stars Join our Slack Latest Release OCaml License: MPL-2.0


Open-Source Terraform automation in pull requests

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

Terraform plan in a PR + optional Terrateam UI
Terrateam PR comment screenshot
Terrateam PR comment
Terrateam UI screenshot
Terrateam Run Dashboard

What makes Terrateam different?

  • GitOps: Runs terraform plan and apply 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.

Try Terrateam

Hosted SaaS

Start free →

Self-Hosted

Quick Start

# 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

Features

  • 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)

Configuration

Configure workflows via .terrateam/config.yml. See Configuration Reference.


Resources


Contributing

We welcome contributions! See CONTRIBUTING.md or join our Slack.


License

Terrateam is MPL-2.0 licensed. Some enterprise features are under a separate enterprise license.