deploy
Installation
SKILL.md
Deploy to AWS
Deploy the Pitfal Solutions website following this sequence:
Pre-deployment Checks
- Verify all tests pass:
pnpm test - Verify TypeScript compiles:
pnpm type-check - Check for uncommitted changes:
git status
Build Process
- Build the Next.js application:
pnpm build - Verify the
out/directory was created
Infrastructure Deployment
- Navigate to terraform:
cd infrastructure/terraform - Initialize if needed:
terraform init - Plan changes:
terraform plan -out=tfplan - Show plan summary to user and confirm before applying
- Apply changes:
terraform apply tfplan