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