Skip to content
Daniel Schmidt's Blog
Go back

Hybrid CDKTF Constructs

CDK Day 2022 ·
· 20 min

Constructs are a great way to share and distribute functionality across teams and the wider organization, similar to Terraform Modules in HCL-based Terraform. But what happens when your organization uses both HCL and CDKTF? In this talk, I explore the mechanics of building and distributing hybrid constructs that work across both worlds. I walk through how to design constructs that generate Terraform modules under the hood, making them consumable by teams regardless of whether they write their infrastructure in HCL or through CDK. If you’re in an environment where adoption of CDKTF is gradual rather than all-at-once, this pattern helps you share infrastructure components without forcing everyone onto the same toolchain.


Share this post on:

Related Posts

Daniel Schmidt
Daniel Schmidt

Terraform Core Engineer at HashiCorp. Designing and implementing the Terraform language and runtime.



Loading newsletter signup...



Previous Post
Multi-Stack Deployments with CDK for Terraform
Next Post
CDK for Terraform Deep Dive - The Convert Command