alexpulver/aws-cdk-sam-chalice

How to run cdk inside lambda function

Closed this issue · 1 comments

How to run cdk inside lambda function

Hi @vumdao,

You can install AWS CDK tooling in an AWS Lambda layer, and then use the function handler to invoke the cdk commands. There is an example from community for this approach: Running AWS CDK from a Lambda function.

With recently announced Container Image Support for Lambda, you can create your own image instead of Lambda layer.