Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Terraform CDK 101

Terraform CDK 101

A quick run through of what Terraform CDK is today and where we're going with this.

Links:

- https://cdk.tf
- https://cdk.tf/learn
- https://cdk.tf/awesome
- https://cdkday.com
- https://cdk.dev

Sebastian Korfmann

August 13, 2020
Tweet

More Decks by Sebastian Korfmann

Other Decks in Programming

Transcript

  1. Terraform CDK • Built by HashiCorp with support of AWS

    CDK Team • Released in July 2020 • Currently in Alpha
  2. Components • Constructs • jsii -> Polyglot Targets (JS /

    Python) • Terraform Provider Schemas
  3. Terraform CDK Gotchas • Well, it's alpha :) • Synchronous

    only (no easy way to do async / await / Promises in Constructs) • Refactoring with existing state still not straightforward (yet)
  4. Terraform CDK Benefits • Imperative Programming • Composable Constructs •

    Proper Dependency Management • Emerging Ecosystem
  5. Outlook • Prebuilt Provider Packages • Schema Stability • Java

    / C# / (Go - when Jsii supports it) • Interoperability AWS CDK <> CDK8S <> CDKTF