Skip to content

AWS CloudFormation Change Sets #2477

Closed
Closed

Description

@nicka

Feature Proposal

Description

Currently we rely on a basic diff between CloudFormation templates to predict what kind of actions will happen during the update of our stacks. This works if your using CloudFormation a lot, but still you can't be 100% sure what will exactly happen. Some of our developers have asked for additional insight into the changes that CloudFormation is planning to perform when it updates a stack. CloudFormation Change Sets allow you to preview the changes, verify that they are in line with their expectations, and proceed with the update.

In addition to additional insight into potential changes, this new model also opens the door to additional control over updates. You can use IAM to control access to specific CloudFormation functions such as UpdateStack, CreateChangeSet, DescribeChangeSet, and ExecuteChangeSet.

Step One: sls deploy --create-change-set XXXX which would trigger the packaging of the functions and generation of CloudFormation templates(--noDeploy) and create a new change set.

Step Two: sls deploy --execute-change-set XXXX which would deploy the previously created change set.

Potential Command: sls deploy --describe-change-set XXXX outputs the expected changes from CloudFormation.

To think about

  • Start out as a separate plugin
  • Decide at which stage CloudFormation templates and function packages should be uploaded

Additional Data

Serverless Framework Version: 1.0.2

Activity

  1. pmuens commented on Nov 18, 2016

    @pmuens
    Contributor

    Hey @nicka thanks for opening this up! 👍

    I remember that you created a plugin for this one, right? I'll close it for now but it would be cool if you could post a link to to your plugin so that others can find it. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions