Skip to content

cipri-p/serverless-package-location-customizer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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/

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published