Skip to content
Level 2 CDKTF Constructs

Build Reliable Infrastructure with
Confidence

Enable the Architectural Depth platform engineers need while maintaining the Developer Experience product teams demand.

Deterministic & Type Safe
OpenTofu & Terraform Ready
Apache 2.0 Licensed
View on GitHub

See TerraConstructs in Action

Step through TypeScript code samples and their generated Terraform configurations. Click "Start Tour" for guided walkthroughs.

main.ts
0 lines
Loading...
cdk.tf
0 lines Idle
{/* click Synth */}
Extensive Unit & E2E Testing
AWS CDK inspired
IAM that makes sense
Powerful Asset Pipelines

Why TerraConstructs?

Bridge the gap between AWS CDK's developer experience and Terraform's operational excellence with this comprehensive L2 construct library.

Type-Safe Infrastructure

Write infrastructure code with full TypeScript support, IntelliSense, and compile-time error checking for reliable deployments.

Battle-Tested Reliability

Ported AWS CDK Unit Tests and extensive end-to-end TerraTest Integration Tests ensure your Terraform configurations work reliably.

Zero CloudFormation

Pure Terraform output with no CloudFormation dependency. Perfect for teams with a heavy OpenTofu or Terraform footprint.

Familiar Patterns

Use the same AWS CDK patterns and constructs you know, but with Terraform as the synthesis target for maximum compatibility.

Platform Team Ready

Designed for platform engineering teams who need consistent, reusable infrastructure patterns across multiple environments.

Built on Constructs

Compose like code: a hierarchical construct tree, late-bound values, and Aspects for cross-cutting concerns deliver flexibility modules can't.

Plug and Play: supports tflint, infracost, OPA, ...

Frequently Asked Questions

Everything you need to know about TerraConstructs

Community & Contributing

TerraConstructs is open source and welcomes contributions. Whether you're fixing bugs, adding features, or improving documentation, we'd love your help.