A few years into the infrastructure-as-code revolution, a growing number of teams have started to feel the friction of writing complex logic in YAML and HCL. CDKs offer a way out: write your infrastructure in a real programming language and still get the benefits of Terraform or Kubernetes under the hood. In this talk, I cover the internals that make this possible. I walk through both CDKTF (for Terraform) and CDK8s (for Kubernetes), explain the universal constructs model that underpins them, and show real-world examples of what a migration looks like. I also discuss when adopting a CDK is the right choice for your engineering organization and when it might not be.
Everything You Need to Know About *CDK - The Internals: From CDKTF to CDK8s
HashiTalks 2023 · · 21 min
Share this post on:
Related Posts
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.
CDK for Terraform Deep Dive - The Convert Command
A code-level deep dive into the convert command that transforms HCL into CDKTF code — tracing through parsing, graph building, and code generation.
Daniel Schmidt
Terraform Core Engineer at HashiCorp. Designing and implementing the Terraform language and runtime.