Keep AWS EC2 instance on after ami build completed

15 views
Skip to first unread message

Zach

unread,
Mar 22, 2019, 4:05:15 PM3/22/19
to Packer
Hello all,

I was wondering if there was a feature to keep the AWS EC2 instance open after my ansible provisioner has finished installing.  I am trying to run a command on the instance and would like to keep the EC2 instance alive, while still creating the AMI.  

Cheers,
Zach

Rickard von Essen

unread,
Mar 22, 2019, 5:10:48 PM3/22/19
to packe...@googlegroups.com
The short answer is no, no such option. 

--
This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list.
 
GitHub Issues: https://github.com/mitchellh/packer/issues
IRC: #packer-tool on Freenode
---
You received this message because you are subscribed to the Google Groups "Packer" group.
To unsubscribe from this group and stop receiving emails from it, send an email to packer-tool...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/packer-tool/5150780f-8797-4189-a525-65f572532071%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages