DEV Community

Discussion on: How to provision Lambda and Lambda Layer using CDK

Collapse
 
aldwyn profile image
Aldwyn Cabarrubias

Welp it worked eventually :D

Collapse
 
upupkenchoong profile image
Ken Choong

Great. Glad you like it

Collapse
 
upupkenchoong profile image
Ken Choong • Edited

I used lambda_.Function before, for some reason, lambda_.Function you will see some very weird problem when import the library from Lambda Layer into the Lambda function. Since then I just use PythonFunction, which let me don't even need to think about the bundling stuff.