terrakube-io /terrakube

Open source IaC Automation and Collaboration Software.

★ 1,003⑂ 149👁 6⑃ 2,996● 830▤ 313
JavaApache-2.0Created 2021-03-19docs.terrakube.io
Download: 2.34.22.34.2 ↓2.34.22026-11-15
+1
Daily
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 run

Top issues

Discussions

Latest release

2.34.2 2.34.2 2026-11-15
What'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

Snapshot: 2026-11-16T09:23:14Z · Data license Apache-2.0 · JSON