Serverless Package Location Customizer

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

GitHub
View on Github

Serverless Package Location Customizer

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

# serverless-package-location-customizer [![serverless](http://public.serverless.com/badges/v3.svg)](http://www.serverless.com) [![npm](https://img.shields.io/npm/v/serverless-package-location-customizer.svg)](https://www.npmjs.com/package/serverless-package-location-customizer) [![license](https://img.shields.io/npm/l/serverless-package-location-customizer.svg)]() A serverless plugin to allow custom S3Bucket and S3Key path when packaging Lambda Functions and Layers ## Installation Install to your Serverless project via npm ```bash $ npm install --save serverless-package-location-customizer ``` ## Usage Add the plugin to your `serverless.yml` ```yaml # 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 ```bash serverless package --stage production --s3-bucket my-deployment-packages --s3-path /my-product/v1.2.3-45/ ```