Skip to main content
Generate TypeScript bindings for Terraform providers and modules.

Usage

Description

The get command reads your cdktf.json configuration and generates fully-typed TypeScript classes for the specified providers and modules. These bindings are placed in the output directory (default: .gen).

Options

Examples

Basic Usage

Generates bindings for all providers and modules specified in cdktf.json.

Custom Output Directory

Override Providers

Generate Specific Module

Configuration

Configure providers and modules in your cdktf.json:

Output Structure