{"id":13433155,"url":"https://github.com/hashicorp/terraform-cdk","last_synced_at":"2025-05-13T16:07:04.701Z","repository":{"id":37091477,"uuid":"232603801","full_name":"hashicorp/terraform-cdk","owner":"hashicorp","description":"Define infrastructure resources using programming constructs and provision them using HashiCorp Terraform","archived":false,"fork":false,"pushed_at":"2025-04-16T15:48:30.000Z","size":129337,"stargazers_count":4963,"open_issues_count":368,"forks_count":466,"subscribers_count":60,"default_branch":"main","last_synced_at":"2025-04-16T17:41:12.246Z","etag":null,"topics":["cdk","cdktf","hack","infrastructure-as-code","terraform"],"latest_commit_sha":null,"homepage":"https://www.terraform.io/cdktf","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hashicorp.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":".github/CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":".github/SUPPORT.md","governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2020-01-08T16:13:45.000Z","updated_at":"2025-04-16T14:09:10.000Z","dependencies_parsed_at":"2023-09-23T00:43:13.275Z","dependency_job_id":"daf7bfc3-7588-4739-8d44-8d06a4e950cf","html_url":"https://github.com/hashicorp/terraform-cdk","commit_stats":{"total_commits":5754,"total_committers":163,"mean_commits":35.30061349693251,"dds":0.662148070907195,"last_synced_commit":"dcd085eba49b06e9a94d1e982940b29f544a0444"},"previous_names":[],"tags_count":1049,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hashicorp%2Fterraform-cdk","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hashicorp%2Fterraform-cdk/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hashicorp%2Fterraform-cdk/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hashicorp%2Fterraform-cdk/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hashicorp","download_url":"https://codeload.github.com/hashicorp/terraform-cdk/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250513381,"owners_count":21443200,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cdk","cdktf","hack","infrastructure-as-code","terraform"],"created_at":"2024-07-31T02:01:21.760Z","updated_at":"2025-04-23T20:46:18.668Z","avatar_url":"https://github.com/hashicorp.png","language":"TypeScript","funding_links":[],"categories":["TypeScript","terraform","📦 Legacy \u0026 Inactive Projects","Tools","HarmonyOS","Related Projects","Configuration Management","Terraform Tools and Services","hack"],"sub_categories":["Community providers","Windows Manager","Multi-accounts setup"],"readme":"![](https://github.com/hashicorp/terraform-cdk/workflows/Release/badge.svg)\n[![npm version](https://badge.fury.io/js/cdktf.svg)](https://badge.fury.io/js/cdktf)\n[![PyPI version](https://badge.fury.io/py/cdktf.svg)](https://badge.fury.io/py/cdktf)\n[![NuGet version](https://badge.fury.io/nu/HashiCorp.Cdktf.svg)](https://badge.fury.io/nu/HashiCorp.Cdktf)\n[![Maven Central](https://img.shields.io/maven-central/v/com.hashicorp/cdktf?color=brightgreen)](https://search.maven.org/artifact/com.hashicorp/cdktf)\n\n# CDK for Terraform\n\nCloud Development Kit for Terraform (CDKTF) allows you to use familiar\nprogramming languages to define cloud infrastructure and provision it through\nHashiCorp Terraform. This gives you access to the entire Terraform ecosystem without learning HashiCorp Configuration Language (HCL) and lets you leverage the power of your existing toolchain for testing, dependency management, etc.\n\nWe currently support TypeScript, Python, Java, C#, and Go.\n\n![terraform platform](./docs/terraform-platform.png)\n\nCDKTF includes two packages:\n\n- [cdktf-cli](./packages/cdktf-cli) - A CLI that allows users to run commands to initialize, import, and synthesize CDK for Terraform applications.\n- [cdktf](./packages/cdktf) - A library for defining Terraform resources using programming constructs.\n\n## Get Started\n\nChoose a language:\n\n- [TypeScript](https://developer.hashicorp.com/terraform/tutorials/cdktf/cdktf-build?in=terraform%2Fcdktf\u0026variants=cdk-language%3Atypescript)\n- [Python](https://developer.hashicorp.com/terraform/tutorials/cdktf/cdktf-build?in=terraform%2Fcdktf\u0026variants=cdk-language%3Apython)\n- [Java](https://developer.hashicorp.com/terraform/tutorials/cdktf/cdktf-build?in=terraform%2Fcdktf\u0026variants=cdk-language%3Ajava)\n- [C#](https://developer.hashicorp.com/terraform/tutorials/cdktf/cdktf-build?in=terraform%2Fcdktf\u0026variants=cdk-language%3Acsharp)\n- [Go](https://developer.hashicorp.com/terraform/tutorials/cdktf/cdktf-build?in=terraform%2Fcdktf\u0026variants=cdk-language%3Ago)\n\n\u003e **Hands-on:** Try the tutorials in the [CDK for Terraform](https://learn.hashicorp.com/collections/terraform/cdktf) collection on HashiCorp Learn.\n\n## Documentation\n\nRefer to the [CDKTF documentation](https://developer.hashicorp.com/terraform/cdktf) for more detail about how to build and manage CDKTF applications, including:\n\n- [Application Architecture](https://developer.hashicorp.com/terraform/cdktf/concepts/cdktf-architecture): Learn the tools and processes that CDKTF uses to leverage the Terraform ecosystem and convert code into Terraform configuration files. It also explains the major components of a CDKTF application and how those pieces fit together.\n\n- [Project Setup](https://developer.hashicorp.com/terraform/cdktf/create-and-deploy/project-setup): Learn how to create a new CDKTF project from a pre-built or custom template. Also learn how to convert an existing HCL project into a CDKTF application.\n\n- [Unit Tests](https://developer.hashicorp.com/terraform/cdktf/test/unit-tests): Learn how to test your application in Typescript with jest.\n\n- [Examples](https://developer.hashicorp.com/terraform/cdktf/examples-and-guides/examples): Reference example projects in every supported language and review explanatory videos and other resources.\n\n## Community\n\nThe development team would love your feedback to help guide the project.\n\n- Contribute using the [CONTRIBUTING.md](./CONTRIBUTING.md) guide.\n- Ask a question on the HashiCorp [Discuss](https://discuss.hashicorp.com/) using the [terraform-cdk](https://discuss.hashicorp.com/c/terraform-core/cdk-for-terraform/) category.\n- Report a [bug](https://github.com/hashicorp/terraform-cdk/issues/new?assignees=\u0026labels=bug\u0026template=bug-report.md\u0026title=) or request a new [feature](https://github.com/hashicorp/terraform-cdk/issues/new?assignees=\u0026labels=enhancement\u0026template=feature-request.md\u0026title=).\n- Browse all [open issues](https://github.com/hashicorp/terraform-cdk/issues).\n\n## Build\n\nAbout prerequisites, refer the [followings](./CONTRIBUTING.md#prerequisites).\n\nClone the project repository.\n\n```bash\ngit clone https://github.com/hashicorp/terraform-cdk.git\n```\n\nDownload dependencies.\n\n```bash\ncd terraform-cdk/\nyarn install\n```\n\nBuild the project and packages.\n\n```bash\nyarn build\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhashicorp%2Fterraform-cdk","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhashicorp%2Fterraform-cdk","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhashicorp%2Fterraform-cdk/lists"}