Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Serverless Deploy pipe file not found include / exclude

Chase Fenske October 22, 2020

Serverless: Excluding development dependencies...

Serverless Error

ServerlessError: No file matches include / exclude patterns

I can deploy this from local no problem, I have no errors, but when I try from bitbucket there's an error. I also don't think its an error with how my include / exclude looks, as if I remove them there is still an error. 
I believe it has something to do with development dependencies, but I dont think there are any, as its just a basic serverless project.

 

- step:
name: Serverless Deploy
deployment: Dev
script:
- npm install
- pipe: atlassian/serverless-deploy:0.2.1
variables:
AWS_ACCESS_KEY_ID: $AWS_ACCESS_KEY_ID_TEST
AWS_SECRET_ACCESS_KEY: $AWS_SECRET_ACCESS_KEY_TEST
DEBUG: "true"

AWS deployment, I have npm install, not sure what else I could be missing

1 answer

0 votes
Chase Fenske October 22, 2020

The issue is with deployment for lambda layers. I will update a solution when I find one.

Jim's Pham February 28, 2024

Did you find the solution?
Thank you!

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events