• HashiCorp Developer

  • HashiCorp Cloud Platform
  • Terraform
  • Packer
  • Consul
  • Vault
  • Boundary
  • Nomad
  • Waypoint
  • Vagrant
Terraform
  • Install
  • Tutorials
    • About the Docs
    • Configuration Language
    • Terraform CLI
    • Terraform Cloud
    • Terraform Enterprise
    • CDK for Terraform
    • Provider Use
    • Plugin Development
    • Registry Publishing
    • Integration Program
  • Registry(opens in new tab)
  • Try Cloud(opens in new tab)
  • Sign up
Terraform Home

Tutorials

Skip to main contentTutorials

Get Started

  • AWS
  • Azure
  • Docker
  • GCP
  • OCI
  • Terraform Cloud

Fundamentals

  • CLI
  • Configuration Language
  • Modules
  • Provision
  • State
  • Terraform Cloud

Use Cases

  • Applications
  • AWS Services
  • Azure Services
  • HashiCorp Products
  • IT/SaaS Providers
  • Kubernetes
  • Machine Images
  • Networking
  • Policy
  • Security

Certification Prep

  • Associate Prep (002)
  • Associate Prep (003)
  • Associate Tutorials (002)
  • Associate Tutorials (003)

Production

  • Automate Terraform
  • Enterprise Patterns
  • Terraform Enterprise

Integrations

  • CDK for Terraform
  • Community Providers
  • Custom Framework Providers
  • Custom SDK Providers
  • Secrets

  • Resources

  • Tutorial Library
  • Certifications
  • Community Forum
    (opens in new tab)
  • Support
    (opens in new tab)
  • GitHub
    (opens in new tab)
  • Terraform Registry
    (opens in new tab)
  1. Developer
  2. Terraform
  3. Tutorials
  4. CDK for Terraform

Define Terraform Configuration with CDKTF

Manage infrastructure with your preferred programming language, including TypeScript, Python, Go, C#, and Java with the Cloud Development Kit for Terraform (CDKTF).

Start
4 tutorials
  •  
    10min
    Install CDK for Terraform and Run a Quick Start Demo
    Set up your CDK for Terraform (CDKTF) environment and run a local Docker demo.
    • Terraform
    • Video
  •  
    15min
    Build AWS Infrastructure with CDK for Terraform
    Use CDK for Terraform (CDKTF) to write infrastructure as code configurations in TypeScript, Python, Go, C#, or Java. Initialize a new CDKTF project, then provision an EC2 instance on AWS using CDKTF.
    • Terraform
  •  
    12min
    Deploy Lambda Functions with TypeScript and CDK for Terraform
    Application stacks enable you to independently manage resources that share the same CDK for Terraform (CDKTF) code. Provision multiple AWS Lambda functions, S3 Buckets, and IAM roles that share the same TypeScript code in stacks, using CDKTF.
    • Terraform
  •  
    20min
    Deploy Applications with CDK for Terraform
    Deploy an application on Kubernetes with CDK for Terraform (CDKTF). Write TypeScript code to define your application infrastructure. Refactor your application using CDKTF constructs. Deploy another instance of your application as a separate CDKTF stack.
    • Terraform
    • Interactive
Give Feedback(opens in new tab)
  • Certifications
  • System Status
  • Terms of Use
  • Security
  • Privacy
  • Trademark Policy
  • Trade Controls
  • Give Feedback(opens in new tab)