# cdktf

> Cloud Development Kit for Terraform

Latest version **0.21.0** (published 2025-06-04) · MPL-2.0 license · 0 weekly downloads

## Install

```sh
npm install cdktf
pnpm add cdktf
yarn add cdktf
bun add cdktf
```

## Health

**Score 45/100 (D)** — status: stable.

Positive: has types; no vulnerabilities; high quality score.

Warnings: low downloads; no esm support; large bundle; pre 1.0.

Negative: stale.

## Facts

| | |
|---|---|
| Version | 0.21.0 |
| Published | 2025-06-04 |
| First published | 2020-05-09 |
| Weekly downloads | 0 |
| License | MPL-2.0 |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 3 |
| Unpacked size | 9.7 MB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 5066 |
| Author | HashiCorp |
| Maintainers | cdktf-team |
| Keywords | cdk, cdktf, terraform |

## Links

- npm: https://www.npmjs.com/package/cdktf
- Repository: https://github.com/hashicorp/terraform-cdk
- Issues: https://github.com/hashicorp/terraform-cdk/issues
- npm.io page: https://npm.io/package/cdktf

## Dependencies (3)

- [semver](https://npm.io/package/semver.md) 7.7.2
- [archiver](https://npm.io/package/archiver.md) 7.0.1
- [json-stable-stringify](https://npm.io/package/json-stable-stringify.md) 1.3.0

## Alternatives

- [mobx-react](https://npm.io/package/mobx-react.md) — 2.8M weekly downloads
- [rc-tree](https://npm.io/package/rc-tree.md) — 2.6M weekly downloads
- [@react-oauth/google](https://npm.io/package/@react-oauth/google.md) — 1.3M weekly downloads
- [@wagmi/connectors](https://npm.io/package/@wagmi/connectors.md) — 877.0K weekly downloads
- [vee-validate](https://npm.io/package/vee-validate.md) — 836.4K weekly downloads

## Recent versions

- 0.21.0 (latest) — 2025-06-04
- 0.21.0-pre.170 (next) — 2025-05-22
- 0.21.0-pre.165 — 2025-04-17
- 0.21.0-pre.166 — 2025-04-17
- 0.20.12 — 2025-04-17
- 0.21.0-pre.164 — 2025-04-16
- 0.21.0-pre.163 — 2025-04-16
- 0.21.0-pre.162 — 2025-04-03
- 0.21.0-pre.160 — 2025-04-01
- 0.21.0-pre.157 — 2025-03-25
- 0.21.0-pre.155 — 2025-03-18
- 0.21.0-pre.154 — 2025-03-17
- 0.21.0-pre.151 — 2025-02-07
- 0.21.0-pre.149 — 2025-02-04
- 0.21.0-pre.148 — 2025-01-27
- … 984 more at https://npm.io/package/cdktf/versions

## README

# cdktf

cdktf is a framework for defining cloud infrastructure using Terraform providers and modules. It allows for
users to define infrastructure resources using higher-level programming languages.

## Build

Install dependencies

```bash
yarn install
```

Build the package

```bash
yarn build
```

[Learn More](https://cdk.tf/docs)

---
_Source: https://npm.io/package/cdktf · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
