1×
Become a member
to unlock all features
Autoplay

    Add external dependencies to an AWS Lambda function deployed with CDK

    awsAWS

    Most JavaScript projects use some (sometimes even too many) external dependencies. AWS Lambda functions written in node.js are no different - it's quite common to use packages from npm in order to ship our code faster and provide value to our users.

    Luckily, CDK helps us here as well - in this quick lesson we're going to learn how to add external dependencies to an AWS Lambda function deployed with AWS CDK. We're also going to see where to find our code + dependencies after we deploy out stack to AWS.