Skip to content

taylorc-093/cdk-lambda

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cdk-lambda

Use a lambda function to deploy CDK applications in a serverless way!

The following is an example of how to use lambda to deploy multiple but similar cdk stacks

Step 1

Create a nodejs lambda layer with cdk dependencies

git clone
cd nodejs
npm i
cd ..
zip -r nodejs.zip nodejs

Step 2

Create your serverless deployment function. Add the layer from above, grant function permissions, and update the account number in deploy-lambda-stack.js

Step 3

Run the function to deploy the lambda stack

TODO

Make variables configurable

  • Function name, stage and runtime

Releases

No releases published

Packages

No packages published