Skip to content
Daniel Schmidt's Blog
Go back

Deep Dive: CDK for Terraform

HashiConf 2021 ·
· 29 min

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.


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
CDK for Terraform Deep Dive - The Convert Command
Next Post
Declarative Development Environments with CDK for Terraform