tptodorov / sbt-cloudformation

SBT plugin for creating and managing AWS CloudFormation stacks
MIT License
11 stars 3 forks source link

Add support for creating change sets #12

Open joprice opened 8 years ago

joprice commented 8 years ago

More recent versions of the cloudformation api have the 'change set' feature, where the effect of an modification to a template can be reviewed before running it. It would be a nice feature to have added to this plugin.

http://docs.aws.amazon.com/AWSJavaSDK/latest/javadoc/com/amazonaws/services/cloudformation/AmazonCloudFormationClient.html#createChangeSet-com.amazonaws.services.cloudformation.model.CreateChangeSetRequest-

tptodorov commented 8 years ago

I have not used change sets. It looks interesting, but I am not sure how can be used from sbt. They have to be managed as separate entities than stacks. Any ideas how to make use of them from a build?

joprice commented 8 years ago

I was imagining modifying a file, running an sbt command to update the change set, perhaps another command to open up that change set's ui page, viewing the results, then either confirming in the ui, or sometime later running another task to submit the change set. I'll experiment with it locally, once the plugin is upgraded to the most recent api versions. I'll be submitting a pr for that shortly.