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.
Hybrid CDKTF Constructs
CDK Day 2022 · · 20 min
Share this post on:
Related Posts
Daniel Schmidt
Terraform Core Engineer at HashiCorp. Designing and implementing the Terraform language and runtime.