Home / Companies / Pulumi / Blog / Post Details
Content Deep Dive

CDKTF is deprecated: What's next for your team?

Blog post from Pulumi

Post Details
Company
Date Published
Author
Adam Gordon Bell
Word Count
1,392
Language
English
Hacker News Points
-
Summary

In December 2020, CDK for Terraform (CDKTF) was deprecated by HashiCorp/IBM, prompting users to seek alternatives for their infrastructure management needs. The blog post explores three primary options available for teams previously using CDKTF: reverting to HashiCorp Configuration Language (HCL) with Terraform, migrating to AWS Cloud Development Kit (CDK), or transitioning to Pulumi. While returning to HCL might be feasible, it contradicts the original motivation for choosing CDKTF, and AWS CDK, though similar in concept, requires significant rewrites due to differences in APIs and resource models. Pulumi emerges as a compelling alternative, offering compatibility with existing CDKTF workflows and leveraging general-purpose languages like TypeScript, Python, and more. It supports Terraform providers and modules, facilitating smoother transitions with its built-in conversion and import functions that translate CDKTF projects into Pulumi programs. The migration process entails exporting CDKTF projects to HCL, converting and importing them into Pulumi, and refactoring to align the new Pulumi code with deployed resources. Pulumi's advantages include a declarative deployment engine and the ability to manage infrastructure across multiple clouds, positioning it as a practical choice for CDKTF users.