peterkh / cumulus

Helps manage AWS CloudFormation stacks
Other
206 stars 40 forks source link

Ability to disable rollback #13

Open tomkerswill opened 9 years ago

tomkerswill commented 9 years ago

It would be great if there could be an option to disable rollback. I think all that is needed is to change this code at MegaStack.py:167:

                self.cfconn.create_stack(
                    stack_name=stack.cf_stack_name,
                    template_body=stack.template_body,
                    parameters=stack.get_params_tuples(),
                    capabilities=['CAPABILITY_IAM'],
                    notification_arns=stack.sns_topic_arn,
                    tags=stack.tags**,**
                    **disable_rollback=True**
                )

.... Although I'm aware that it would be best to have this set as an option on the command line, which I haven't quite worked out how to do yet.

Tom

tomkerswill commented 9 years ago

Sorry - the \ markdown in the code above is meant to be markdown to add this as bold!