terrakube-io /terrakube
Open source IaC Automation and Collaboration Software.
★ 1,003⑂ 149👁 6⑃ 2,996● 830▤ 313
+1
日增长
1,003
stars
149
forks
6
watchers
2,996
prs
830
issues
313
releases
README
Terrakube
Open source IaC Automation and Collaboration Software.
Try it without installing anything
Open Terrakube in a GitHub Codespace to test it from your browser:
Features
- Organizations and Workspaces: Use Organizations and Workspaces to manage your infrastructure in a structured and efficient way. Workspaces also support Tags, which let you group, organize, and filter your workspaces based on the tags you assign to them.
- Private Registry: Publish your Terraform Modules and Providers privately.
- Version Control Integration: Terrakube integrates with GitHub (Cloud and Enterprise), GitLab (EE and CE), Bitbucket and Azure DevOps to retrieve your terraform/opentofu code.
- Terraform Workflow: Terrakube allows you to run the Terraform / OpenTofu workflow from anywhere, anytime. You can perform actions such as terraform apply, terraform plan, and terraform destroy. You can also manage variables and access the Terraform state files.
- Custom Workflows: Enhance your IaC workflow with Infracost, or any other tool of your choice. You can use Terrakube extensions to integrate them seamlessly, or create your own custom integration using the Terrakube API. This way, you can automate compliance checks, cost estimates, security scans, and more for your Terraform projects.
- Policy as Code: Evaluate OPA policies against every plan before it is applied. Policy sets run at an advisory, soft mandatory or hard mandatory level, and exemptions can be scoped to an organization, project or workspace. See Policy Enforcement.
- Access Control: You can use Dex to authenticate in Terrakube with various identity providers, such as Azure Active Directory, Amazon Cognito, GitHub, SAML, and more. You can also leverage your existing groups to assign granular permissions to Workspaces, Modules, VCS, and other resources.
- Remote Backend: Terrakube supports both remote backend and cloud block so you can run your workflow directly from the Terraform / OpenTofu CLI.
- Dynamic Credentials: Give runs short-lived access to AWS, Azure, GCP or Vault through workload identity, so you do not store long-lived cloud keys in workspaces.
- Flexible Executors: Run on the built-in executor, on self-hosted agents, or as ephemeral Kubernetes jobs that exist only for the length of a run.
- Drift Detection and Schedules: Run plans on a schedule to catch drift, and chain workspaces with run triggers.
- Pull Request and CI Integration: Webhooks from GitHub, GitLab, Bitbucket and Azure DevOps trigger plans for your pull requests, and Terrakube posts the result back to the pull request on GitHub, GitLab and Bitbucket. You can also run Terrakube jobs from your pipelines with the Terrakube GitHub Action.
- Manage Terrakube as Code: Use the Terraform provider, the Terrakube CLI or the API to configure organizations, workspaces and policies.
Use it from the Terraform CLI
Point the cloud block at your Terrakube API and run Terraform as usual. The runTop issues
#1165Bitbucket connection issue Unexpected end of file from server21 comments · 2024-08-06#2511GitHub webhooks not parsed properly for Renovate PRs19 comments · 2025-09-11#2070Parallel run for multiple workspace16 comments · 2025-04-28#1007Option to link TK and TF workspace names13 comments · 2024-06-24#3890Executor hangs forever on OutOfDirectMemoryError while fetching releases index.json (2.34, Netty 4.2)10 comments · 2026-11-10#773Enabling Direct Communication Between API and Dex Services Inside Kubernetes Clusters10 comments · 2024-03-19#766terrakube ignores provider configuration block during terraform execution10 comments · 2024-03-07#683Forgejo/Gitea VCS support9 comments · 2024-01-21
Discussions
#3849when are we releasing new version 2.34.01 comments · 2026-11-05#3519JobReconciliationSweep fails healthy ephemeral jobs: the 60s heartbeat grace period is unreachable on a cold-start executor1 comments · 2026-09-04#3122Ephemeral jobs are failing after upgrade to 2.30.21 comments · 2026-04-06#2964why dex jump to http schema http://terrakube-ui.mark.demo1 comments · 2026-02-15#2963do we have crds in terrakube?1 comments · 2026-02-15#2848how to properly run Drift Detection using OpenTofu1 comments · 2026-01-13#2836Is Terragrunt Supported in Terrakube?1 comments · 2026-01-07#2604Terrakube extensions — not being cloned into workspace1 comments · 2025-10-16
Latest release
2.34.2 2.34.2 2026-11-15What's Changed [Backport 2.34] fix(api): ignore unknown fields in GitLab merge request diff responses by @alfespa17 in https://github.com/terrakube-io/terrakube/pull/3889 [Backport 2.34] fix: bump terraform-spring-boot-starter to 1.9.1 so stuck downloads time out (3890) by @alfespa17 in https://github.com/terrakube-io/terrakube/pull/3905 [Backport 2.34] fix(executor): complete a policy evaluation step whose error log is null by @alfespa17 in https://github.com/terrakube-io/terrakube/pull/3906 [Backport 2.34] fix(api): render policy violations without null fields in PR comments by @alfe