You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
Reacted by Adrien, Daniel Dyrnes, Florian Motlik, Mike Staub, Mark Vayngrib, Frank, Walery Strauch, Nick R and steffendeffert
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!
Activity
pmuens commentedon Nov 18, 2016
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!