Description
Please search the existing issues for relevant feature requests, and use the reaction feature (https://blog.github.com/2016-03-10-add-reactions-to-pull-requests-issues-and-comments/) to add upvotes to pre-existing requests.
Feature Description
When building multiple (AMIs) at the same time, if one fails the rest of the build process continues all the way to baking the final AMI. I suggest we have a notion of a --fail-fast argument. Where in if any part of a stage of the build process (defined by the same pause points as --debug does) fails, we cancel all builds immediately and clean-up as on-error dictates.
Use Case(s)
Mostly this would be useful in CI/CD environments or building new sets of images. If I'm targeting multiple OSes and one fails to build for whatever reason. Nothing after that matters to me. Either the whole build completes successful or it did not. Waiting till the end and having to clean-up the successful build just slows things down.