in pipeline/local_modules/cloudformation/cloudformation_manager.js [180:197]
CloudFormationManager.prototype.createChangeSet = function (stackName, changeSetName, templateBody, parameters) {
var self = this;
var params = {
ChangeSetName: changeSetName,
StackName: stackName,
ChangeSetType: "UPDATE",
Capabilities: [
"CAPABILITY_IAM"
],
Parameters: parameters,
TemplateBody: templateBody
};
console.log("Creating ChangeSet: " + JSON.stringify(params));
return self.getCloudFormationClient()
.then(function (cloudFormation) {
return cloudFormation.createChangeSet(params).promise();
});
}