disable_stop_instance not working as expected

16 views
Skip to first unread message

Yossi Spindler

unread,
Apr 28, 2022, 9:53:50 AMApr 28
to Packer
Hi,

I need packer not to stop an instance until provisioner ends and then i will stop it myself.

I am using disable_stop_instance which according to documentation should do that, but after 10 minutes it erros out and stops the instance.

2022/04/28 10:20:03 ui: ==> learn-packer.amazon-ebs.firstrun-windows: Automatic instance stop disabled. Please stop instance manually.
2022/04/28 10:20:03 ui: ==> learn-packer.amazon-ebs.firstrun-windows: Waiting for the instance to stop...
2022/04/28 10:30:21 ui error: ==> learn-packer.amazon-ebs.firstrun-windows: Error waiting for instance to stop: ResourceNotReady: exceeded wait attempts

Is this a bug?  
Any other option?

Thanks,
Reply all
Reply to author
Forward
0 new messages