The concept is to add functionality similar to terraform, if you provide an output flag, and do not supply the no dry run, you can create a binary plan file that has all the resources to remove. You could then review this either by the initial output of the tool or by using a command like aws-nuke show <plan-file>. Once you review you can provide it to the run command along with no dry run and aws-nuke would skip doing another discovery phase.
Considerations
Resources could change between plans
We'd need to store resource information along with basic account information to ensure on subsequent plan the same account is being targeted
Overview
The concept is to add functionality similar to terraform, if you provide an output flag, and do not supply the no dry run, you can create a binary plan file that has all the resources to remove. You could then review this either by the initial output of the tool or by using a command like
aws-nuke show <plan-file>
. Once you review you can provide it to the run command along with no dry run and aws-nuke would skip doing another discovery phase.Considerations