NixOS/nixops-aws

[aws] `--allow-reboot` stop /start the instance

PsyanticY opened this issue · 1 comments

When perfroming a deploy operation withe the --allow-reboot flag nixops actually stop start the instance which can cause issues when dealing with spot instances. It should reboot the instance as the name suggest

nixops deploy -d dep --allow-reboot
warning: are you sure you want to stop machine 'master' (y/N) y
master..> stopping EC2 machine... Traceback (most recent call last):

In that case, I believe you should use the --force-reboot option