Open platform to plan, review, and apply infrastructure as code with workspaces, policies, registry, and remote CLI backend.
Overview
Terrakube is open-source software for automating and collaborating on Terraform and OpenTofu. Platform teams govern organizations, workspaces, access, and policies while engineers run plans and applies from the UI or by pointing the standard CLI at Terrakube as a remote backend.
Workspaces connect to GitHub, GitLab, Bitbucket, or Azure DevOps for version-controlled modules. Runs show resource-level plan changes with console output, visual state diagrams, scheduled jobs, run triggers between dependent workspaces, and custom workflow templates that can call external tools such as cost estimators.
Security features include team roles tied to identity providers, Open Policy Agent policies on plans, single sign-on through OIDC or SAML, and short-lived dynamic credentials for AWS, Azure, GCP, Vault, or OpenBao instead of long-lived keys in workspaces.
You can host it on your own Kubernetes cluster or via Docker Compose, publish a private module registry, and execute jobs on built-in executors, self-hosted agents, or ephemeral Kubernetes workers. State and run output land in object storage backends with PostgreSQL or compatible SQL for metadata.
Key features
- Terraform and OpenTofu workspaces
- Remote CLI backend support
- Git provider VCS integration
- OPA policy checks on plans
- Private module and provider registry
- Dynamic cloud credentials per run
- Scheduled drift detection plans
- Helm and Docker Compose deployment
Use cases
- In-house Terraform Cloud alternative
- Governed multi-team IaC operations
- CLI-driven plans with central state
- Private module sharing inside an org
- Chained workspace dependency updates
Does the same job as
Terrakube doesn't name these products itself, but its own description shows it does the same job.