Open ddosia opened 1 year ago
Thank you for bringing this to our attention. There is one additional caveat you should be aware of. When working with images once you have them in multiple regions if you delete the image it will delete that image from all regions. This might be okay for your use case.
We encourage you to continue with the work around as Packer is a better choice for managing images. We will look to prioritize implementing the transfer action for images when we can.
Thanks again for your continued use and support of DigitalOcean's Terraform provider.
Is your feature request related to a problem? Please describe.
I do a snapshot of a droplet through automation. This snapshot is a golden image to be used to create another droplets. I want this snapshot to be available in other regions. Can't find a way to do it through terraform.
Describe the solution you'd like
Describe alternatives you've considered
I found not very straightforward way to do it through
doctl
:It's not clear because at least from API docs and Web Panel point droplet snapshots are neither images nor volume snapshots. But despite that you can use "image" API to transfer it to a different region.
Also I found a way to do this with packer (which is good but I'd still need terraform support since region list is dynamically changed through terraform):
If I miss something would appreciate your help.