chef-provisioning-aws icon indicating copy to clipboard operation
chef-provisioning-aws copied to clipboard

Instance created by machine_image is never terminated when AMI not available in time

Open christinedraper opened this issue 9 years ago • 1 comments

When I create a machine_image, the AMI normally does not become available in time and the recipe fails.

This means that the instance created in order to create the image never gets terminated. It is ignored on subsequent runs.

Would be nice if it could be terminated, perhaps on the next run when the AMI is found. Seems like it might even be reasonable to terminate it as part of the first run even if the AMI hasn't become available in time.

christinedraper avatar Mar 28 '15 22:03 christinedraper

Related: https://github.com/chef/chef-provisioning-aws/issues/254 and https://github.com/chef/chef-provisioning-aws/issues/256

tyler-ball avatar Aug 26 '15 19:08 tyler-ball