A follow up question: is there a good way to ask the user who deploys if they want to use a snapshot or keep the current disk ? I am thinking to use an environment variable for this at the moment.
Since the output of my index.js is buffered. I cannot prompt the user while executing the script, which would be my preferred method. So that I can display some choices.