AWS CDK vs OpenTofu
| AWS CDK | OpenTofu | |
|---|---|---|
| Free plan | Yes | Yes |
| Free trial | No | No |
| Paid from | Free | Free |
| Open source | No | No |
| Platforms | Linux, macOS, Windows | Linux, macOS, self-hosted, Windows |
| Free plan | Yes | Yes |
| Configuration language | general-purpose language | hcl |
| Supported clouds | AWS | Amazon Web Services, Microsoft Azure, Google Cloud Platform, Kubernetes, Helm, GitHub, Splunk, Datadog |
| State management | managed | both |
| Policy as code | Yes | Yes |
| Drift detection | Yes | Yes |
| Import existing resources | Yes | Yes |
| Self-hosted execution | Yes | Yes |
Both are listed in Best Infrastructure as Code Tools. On Inferse, OpenTofu scores higher on our published basis.