DEV Community

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

upupkenchoong profile image
Ken Choong Author • 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.