How to add additional Plugins to Serverless-deploy Pipe?

APrusty November 11, 2021

We are planning to use the ServerLess-deploy pipe for the Lambda and Glue Job deployment. But didn't find an option how to add the additional plugin to serverless pipes for a different type of packaging.

1 answer

1 accepted

0 votes
Answer accepted
Igor Stoyanov
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
November 12, 2021

@APrusty Hi. Thanks for your question. It's a good case to use PRE_EXECUTION_SCRIPT parameter:

script:
  - echo 'npm install serverless-additional@2.*' > .my-script.sh
  - chmod 005 my-script.sh
  - pipe: atlassian/serverless-deploy:1.1.1
    variables:
      AWS_ACCESS_KEY_ID: $AWS_ACCESS_KEY_ID
      AWS_SECRET_ACCESS_KEY: $AWS_SECRET_ACCESS_KEY
      PRE_EXECUTION_SCRIPT: '.my-script.sh'

Regards, Igor.

APrusty November 17, 2021

Thanks for the information.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events