chef-provisioning-aws
chef-provisioning-aws copied to clipboard
Instance created by machine_image is never terminated when AMI not available in time
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.
Related: https://github.com/chef/chef-provisioning-aws/issues/254 and https://github.com/chef/chef-provisioning-aws/issues/256