This is the talk for people who want to understand what actually happens when you run cdktf synth. I take you through the entire pipeline: from a Python CDKTF program, through JSII (the cross-language interop layer), to the generated HCL JSON that Terraform consumes. Along the way, I cover how provider schemas are read and translated into TypeScript types, how the construct tree is assembled, and how the final Terraform invocation works. If you’ve ever wondered how CDKTF manages to support multiple programming languages while targeting a tool that only understands HCL, this talk pulls back the curtain.
Deep Dive: CDK for Terraform
HashiConf 2021 · · 29 min
Share this post on:
Related Posts
Everything You Need to Know About *CDK - The Internals: From CDKTF to CDK8s
Covering the internals of CDKTF and CDK8s — the universal constructs model, real-world migration examples, and when adopting a CDK is the right choice.
Multi-Stack Deployments with CDK for Terraform
A practical walkthrough of deploying infrastructure across multiple stacks, environments, and regions using CDKTF.
Hybrid CDKTF Constructs
Building and distributing hybrid constructs that work across both HCL and CDKTF — for organizations adopting CDKTF gradually.
Daniel Schmidt
Terraform Core Engineer at HashiCorp. Designing and implementing the Terraform language and runtime.