I'm running into an issue with the atlassian/serverless-deploy:0.1.5 pipe, specifically around plugins.
I'm able to deploy successfully via the pipeline until I add a serverless plugin to my serverless.yml file
The error seems to indicate that it can't find said plugin. "
Serverless plugin "serverless-newrelic-lambda-layers" not found. Make sure it's installed and listed in the "plugins" section of your serverless config file."
When I run the serverless deployment locally it works fine. Is there an extra step I need to take when adding plugins to serverless.yml in a bitbucket pipeline.
Circling back in case someone runs into this as well.
For whatever reason I thought serverless-deploy pipe would take care of installing all dependencies, which is an incorrect assumption.
The fix was simply adding am `npm install` step to the pipeline before calling the pipe.
Works like a champ.
@Arturo_Robles could you please put the output of
command here? it will contain framework, plugin, sdk and components versions.
It will help us to investigate the issue.
And also the question is about destination of where you are deploying?
Thanks for reporting.
...hey are a part of us, shaping how we interact with the world around us. The same holds true for programming languages when we think about how different kinds of vulnerabilities raise their heads in t...
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