Rollback

  • When new resource deployment ends with an error, the DELETE operation is called.
  • When existing resource update ends with an error, the UPDATE operation to a previous configuration is called.

This way the CloudFormation stack is atomically deployed by default.