1.0.0 • Published 4 years ago

serverless-create-custom-deployment-bucket v1.0.0

Weekly downloads
51
License
ISC
Repository
github
Last release
4 years ago

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.