Skip to content

Infrastructure CDK

Karthik edited this page Mar 1, 2026 · 1 revision

Infrastructure (CDK)

Location

infrastructure/cdk/

Responsibilities

  • Provision API Gateway, Lambda, Cognito, DynamoDB, S3, and supporting resources
  • Capture environment-specific wiring and permissions
  • Provide reproducible, versioned infrastructure changes

Typical Stack Operations

cd infrastructure/cdk
cdk synth
cdk diff
cdk deploy --all

Guardrails

  • Review cdk diff before deployment
  • Keep IAM permissions scoped tightly
  • Separate shared vs environment-specific settings
  • Track breaking infra changes in release notes

Testing

  • Use CDK/unit/integration tests under infra test directories
  • Validate stack outputs consumed by frontend/backend modules

Clone this wiki locally