serverless-create-custom-deployment-bucket
v1.0.0
Published
Creates the deployment bucket on serverless packaging if the deployment bucket name was customized
Downloads
60
Readme
serverless-create-custom-deployment-bucket
This is a simple plugin for Serverless Framework to create the deployment bucket if the name was customized and bucket is not created yet.
Install
$ npm install serverless-create-custom-deployment-bucket --save-dev
Add the plugin to your serverless.yml
file:
plugins:
- serverless-create-custom-deployment-bucket
Configure
The configuration of the plugin is done by simply configuring a custom bucketName on the serverless yml.
provider:
deploymentBucket:
name: MY_DEPLOYMENT_BUCKET_NAME
That's it. It will be automatically created on sls package or sls deploy.