Only delete the plan that failed when automerge is enabled
Author: lattwoodCreated Jan 18, 2023Updated Sep 27, 2026
Labelsbugquick-winStale
Community Note
- Please vote on this issue by adding a reaction to the original issue to help the community and maintainers prioritize this request. Searching for pre-existing feature requests helps us consolidate datapoints for identical requirements into a single place, thank you!
- Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request.
- If you are interested in working on this issue or have submitted a pull request, please leave a comment.
Overview of the Issue
Having automerge enabled causes Atlantis to delete all plans in a batch if even a single plan fails.
They shouldn't be deleted, because a user can retry just the failed plans.
Currently, you have to re-plan specifically the ones that succeeded originally, and then retry the failed ones.
Additional Context
Source: runatlantis/atlantis