digitalocean / packer-plugin-digitalocean

Packer plugin for DigitalOcean Builder
https://developer.hashicorp.com/packer/integrations/digitalocean/digitalocean
Mozilla Public License 2.0
20 stars 12 forks source link

builder: initiate image transfers in parallel and make timeout configurable. #126

Closed andrewsomething closed 4 months ago

andrewsomething commented 4 months ago

After resolving #122, we are now properly polling for the status of image transfers. This exposed some issues for users creating large images and distributing them to multiple regions. The transfers are done one at at time. So if the first region errors or times out, the other transfers are never initiated and the initial Droplet is not cleaned up. This PR makes two changes to address this:

Closes: https://github.com/digitalocean/packer-plugin-digitalocean/issues/125 Closes: https://github.com/digitalocean/packer-plugin-digitalocean/issues/129