The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

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

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

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, Pham
February 28, 2024

Did you find the solution?
Thank you!

TAGS
AUG Leaders

Atlassian Community Events