What problem does it solve?
Patterns for simple Terraform infrastructure using "direct resources first, modularize later." Targets 150-250 lines per environment in a single main.tf with 3-5 variables. Covers DynamoDB (PAY_PER_REQUEST), Lambda with CI/CD packaging, API Gateway, IAM policies, and S3 conventions for event logs and Snowflake staging. Create modules only after 3+ reuses of the same pattern. Includes staging/prod differentiation and essential CloudWatch alarms. Use when creating AWS infrastructure, deploying serverless applications, or setting up event processing systems.
Core Features & Use Cases
- Direct resources-first approach: single main.tf per environment (staging and prod) with 150-250 lines.
- Essential components: DynamoDB (PAY_PER_REQUEST), Lambda with CI/CD packaging, API Gateway, IAM policies, and S3 conventions for event logs and Snowflake staging.
- Use Case: Review or build simple AWS infrastructure quickly, deploying serverless apps and event processing pipelines with minimal churn.
Quick Start
Start by implementing a staging environment with a single main.tf (150-250 lines) and then replicate to prod with environment-specific variables.