onefinestay / gonzo

Instance and release management made easy
Other
17 stars 4 forks source link

Capture instance images #31

Closed TomMaddox closed 10 years ago

TomMaddox commented 10 years ago

This adds the sub commands gonzo image-create and gonzo image-delete as well as making the option gonzo instance-launch --image-name available.

The end goal for this functionality is to enable snapshots to be created automatically after a stack's launch has completed. Something like gonzo stack-launch --create-instance-images --delete-upon-completion, which would create snapshots for each instance resource and then delete the stack. These snapshots could then be utilised by a "sister" template which will launch far quicker.

TomMaddox commented 10 years ago

Not sure what, if any, tests should be added for this. Open to suggestions

junkafarian commented 10 years ago

I think it's worth adding some unit tests around the delete behaviour (only delete if one or more images were found etc.)