Serverless Cloudformation Changesets

homepage icon https://github.com/trek10inc/serverless-cloudformation-changesets
Follow @trek10inc

Tracked

NPM Downloads Last Month
110
Issues
1
Stars
7
Forks
0
Watchers
7
Watch Star Fork Issue Download License NPM Build Status Coverage Status Contributors

Repo README Contents:

serverless-cloudformation-changesets

serverless

Serverless framework plugin to create CloudFormation ChangeSets.

Installation

Install the plugin from npm

$ npm install --save serverless-cloudformation-changesets

Add the plugin to your serverless.yml file:

plugins:
  - serverless-cloudformation-changesets

Usage

Add --changeset option to the sls deployment command, ex:

$ sls deploy --changeset --stage dev --region us-east-1

--changeset by default uses a timestamp for ChangeSet name, otherwise you can provide optional --changeset value:

$ sls deploy --changeset your-changeset-name --stage dev --region us-east-1

If CloudFormation Stack doesn’t exist and custom provider.deploymentBucket was specified, this plugin will create a new stack without template, resources. The stack will be in the REVIEW_IN_PROGRESS state.