I have read that SAM cli now supports building layers and followed the directions mentioned [here](https://github.com/awslabs/aws-sam-cli/releases/tag/v0.50.0). However, the layer uploaded by aws-sam-deploy pipe is missing `node_modules` folder.
Here is my template file:
Description: A Lambda function that returns a static string.
- !Ref samDeployLayer
# Give Lambda basic execution Permission to the helloFromLambda
I have included both the `CompatibleRuntimes` and `Metadata` properties as per the requirement to build layers. `package.json` for this layer is located at `src/sam-deploy-layer/nodejs` as required for nodeJS runtimes.
@nasfarley88 we have updated aws-sam-cli.
Please, share your pipeline, the part of aws-sam-deploy usage, and the template (you may put some sensitive things as hidden, but we need a template to understamd the exact case of failing and see the structure you're using).
We will investigate your case separately and notify you.
Hi everyone, Are you Bitbucket DC customer? If so, we'd love to talk to you! Our team wants to dive deep to understand your long-term plans regarding Bitbucket DC and Atlassian Cloud. Do you plan...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events