Company
Date Published
Author
Rohan Kumar Tripathy
Word count
613
Language
English
Hacker News points
None

Summary

CDK for Terraform 0.19 adds support for importing existing resources with auto-generated configuration in CDKTF projects, simplifying the process of bringing existing infrastructure into CDKTF projects. This release builds upon previous updates to CDKTF, which introduced multi-language provider documentation and supported new Terraform features to achieve cost savings and improve security. The new feature allows developers to safely move resources and bring existing infrastructure into CDKTF projects with auto-generated code, without jeopardizing business continuity. Importing existing resources is now a more straightforward process, thanks to the introduction of config-driven import and refactoring capabilities such as `moveTo` and `generateConfigForImport`. These features enable developers to refactor code without losing state or destroying and recreating resources, making it easier to work in production environments with minimal downtime or data loss. The release also includes support for terraform provider code generation in tech preview.