(aws-lambda-nodejs): can't build with lambda layers #11762
Labels
@aws-cdk/aws-lambda-nodejs
bug
This issue is a bug.
needs-triage
This issue or PR still needs to be triaged.
The
NodejsFunction
fails with the following error when attempting to build with a lambda layer.Reproduction Steps
I created a repo to demonstrate the error here: https://github.com/elthrasher/circular-layer
Should be reproducible with any NodejsFunction + layer combo. Instructions in the README.
What did you expect to happen?
Add a lambda layer to a NodejsFunction construct.
What actually happened?
Got the error above.
Environment
Other
There is a workaround available (see https://github.com/elthrasher/circular-layer).
This is 🐛 Bug Report
The text was updated successfully, but these errors were encountered: