compare
AWS CDK vs OpenTofu
The same facts for both, read from GitHub every night, and the relation a person reviewed.
| Fact | AWS CDK | OpenTofu |
|---|---|---|
| Language | TypeScript | Go |
| Licence | Apache-2.0 | MPL-2.0 |
| Stars | 13k | 31k |
| Latest | v2.276.0 | v1.13.9 |
| Last push | 2026-11-11 | 2026-11-12 |
| Release cadence | about 10 days between releases | about 3 days between releases |
| Active contributors | 95 commit authors on the default branch in the last 90 days | 14 commit authors on the default branch in the last 90 days |
| Flags | none | none |
How they relate
Both replace AWS CloudFormation. Alternatives to AWS CloudFormation →
PartialAWS CDKDefines AWS resources in TypeScript, Python, Java or C#, then synthesizes CloudFormation templates and deploys through it.
Full replacementOpenTofuHCL configuration for AWS and other clouds.
Both replace Terraform. Alternatives to Terraform →
PartialAWS CDKInfrastructure in general-purpose languages, for AWS only.
Drop-inOpenTofuFork of Terraform 1.5, reads the same configuration and state.
AWS CDK
- v2.276.02026-11-10L1 resources are automatically generated from public CloudFormation Resource Schemas. They are built to closely reflect…
- v2.275.02026-10-26L1 resources are automatically generated from public CloudFormation Resource Schemas. They are built to closely reflect…
- v2.274.02026-10-20L1 resources are automatically generated from public CloudFormation Resource Schemas. They are built to closely reflect…
- v2.273.02026-10-08L1 resources are automatically generated from public CloudFormation Resource Schemas. They are built to closely reflect…
- v2.272.02026-09-30L1 resources are automatically generated from public CloudFormation Resource Schemas. They are built to closely reflect…
OpenTofu
- v1.13.92026-11-05BUG FIXES:
- v1.12.122026-11-05BUG FIXES:
- v1.13.82026-11-04The -v short option now again works as an alias for the version command and --version option, fixing an unintended regr…
- v1.12.112026-10-29BUG FIXES:
- v1.13.22026-10-21Previous versions of OpenTofu could potentially experience excessive CPU usage if connecting to an attacker-controlled…
AWS CDK
✓ signed The latest release, v2.276.0, carries a signature GitHub verified.
Loading the security report
OpenTofu
unsigned The latest release, v1.13.9, carries no signature GitHub could verify.
Loading the security report