CloudFormation helpers

What is this?

The following methods are added to clients instantiated using Betterboto:


betterboto.cloudformation.create_or_update(self, force_changeset_usage=False, **kwargs)[source]

For the given template and stack name, this method will create a stack if it doesnt already exist otherwise it will generate a changeset and then execute it. This method will wait for the operation to complete before returning and in the instance of an error it will print out the stack events to help you debug more easily.

  • self – cloudformation client

  • force_changeset_usage – if set to true CloudFormation will always use a changeset even on creation of a stack

  • kwargs – these are passed onto the create_stack and create_change_set method calls