Ability to define multiple directories for Lambda construct #985
Labels
@aws-cdk/assets
Related to the @aws-cdk/assets package
@aws-cdk/aws-lambda
Related to AWS Lambda
duplicate
This issue is a duplicate.
feature-request
A feature should be added or improved.
Hello,
Great framework, keep up the good work.
Right now in order to define a lambda construct you need to set where the code resides, e.g.
code: lambda.Code.asset('lambda')
. Sometimes you would like to define multiple folders, for example the actual code andnode_modules
, although packing can be done as a preprocess step before actually runningcdk deploy
, it would be cleaner to do it as part of the lambda configuration.The text was updated successfully, but these errors were encountered: