AWS infrastructure as <React/>

Write JSX with className props. Generate Terraform.

GitHub
infrastructure.jsx
<VPC className="cidr-10.0.0.0/16">
<RDS className="engine-postgres multi-az" />
<Lambda className="runtime-nodejs20" />
</VPC>
main.tf
variables.tf
outputs.tf
backend.tf

Interactive Playground

Edit the JSX and see Terraform generated in real-time

Available Components

Each component maps to Terraform resources.

VPC

Virtual Private Cloud with subnets and routing

cidr-10.0.0.0/16 region-us-east-1 single-nat
RDS

Managed relational database with backups

engine-postgres instance-lg multi-az
Lambda

Serverless functions with auto-scaling

runtime-nodejs20 mem-512mb timeout-30s
Fargate

Containers without managing servers

mem-1gb cpu-0.5 port-3000 count-2
S3

Object storage with lifecycle rules

acl-private versioned encrypted
DynamoDB

Serverless NoSQL with on-demand scaling

on-demand
ALB

Load balancer for traffic distribution

public
EC2

Virtual servers with custom compute

instance-t3-medium storage-50gb

Security configured

Encryption, IAM roles, security groups, and secrets management.

Copy and deploy

Download the generated files and run terraform apply.