What problem does it solve?
Deploying Elysia.js (a Bun-first web framework) to AWS Lambda's Node.js runtime introduces multiple non-obvious compatibility issues that cause frequent deployment failures and runtime errors, including handler resolution mistakes, missing crypto polyfills, CDK runtime mismatches, and undiagnosed API Gateway 500 errors.
Core Features & Use Cases
- Full deployment workflow guidance: Covers bundling with Bun or esbuild, zip packaging, Lambda code upload, handler configuration, and CDK stack setup for production-ready serverless APIs.
- Comprehensive troubleshooting: Provides fixes for common errors including ESM/CJS syntax errors, missing module errors, malformed handler names, crypto reference errors, and API Gateway issues that only occur when invoked via the gateway.
- Production configuration support: Includes steps for ACM DNS validation, CORS setup for browser applications, binary response handling, and CDK drift resolution for existing infrastructure.
Use case: A developer building an Elysia.js REST API can use this skill to deploy it to AWS Lambda with API Gateway in minutes, avoiding hours of debugging common runtime and configuration pitfalls.
Quick Start
Use the elysia-aws-lambda-deploy skill to bundle, package, and deploy your Elysia.js application to AWS Lambda with API Gateway, including all required configuration patches and CORS setup.