Serverless Package Location Customizer

A serverless plugin to allow custom S3Bucket and S3Key path when packaging Lambda Functions and Layers.

user  

cipri-p

serverless-package-location-customizer

serverless npm license

A serverless plugin to allow custom S3Bucket and S3Key path when packaging Lambda Functions and Layers

Installation

Install to your Serverless project via npm

$ npm install --save serverless-package-location-customizer

Usage

Add the plugin to your serverless.yml

# serverless.yml

plugins:
  - serverless-package-location-customizer

Run serverless package command with the following paramters

  • --s3-bucket name of the deployment bucket
  • --s3-path path to the packaged inside the deployment bucket

Example

serverless package --stage production --s3-bucket my-deployment-packages --s3-path /my-product/v1.2.3-45/
view on Github

Latest commit b2f54ec on Sep 24, 2017

New to serverless?

To get started, pop open your terminal & run:

npm install serverless -g