nixops-aws icon indicating copy to clipboard operation
nixops-aws copied to clipboard

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

Open PsyanticY opened this issue 5 years ago • 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):

PsyanticY avatar Jul 20 '19 13:07 PsyanticY

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

tewfik-ghariani avatar Feb 05 '21 18:02 tewfik-ghariani