A follow up question: is there a good way to ask t...
# general
a
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.
g
Using the
pulumi config ...
system is likely the best option for this - https://www.pulumi.com/docs/intro/concepts/config/.
An environment variable would work too, but the config way makes it a bit more explicit and repeatable.
a
ok.
i was looking for more interaction. so that a user explicitly needs to confirm.
thanks !