Question

How to Create a Droplet Image via the API for Multiple Regions?

I’m currently trying to create an image for new droplets via the API that will be used in multiple regions. Looking at the API docs, it looks like an image can only be placed in 1 region via the API (all others have to be manually added via the dashboard UI).

Is it possible to automate the replication to other regions so I can write a script to just create/update my images in one go?


Submit an answer
Answer a question...

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Bobby Iliev
Site Moderator
Site Moderator badge
December 19, 2022

Hey @floatinglightcyanangler,

I believe that at the moment you can only do the following snapshot actions:

Action Description
doctl compute snapshot delete Delete a snapshot of a Droplet or volume
doctl compute snapshot get Retrieve a Droplet or volume snapshot
doctl compute snapshot list List Droplet and volume snapshots

The best thing to do to get your voice heard regarding this would be to head over to our Product Ideas board and post a new idea, including as much information as possible for what you’d like to see implemented.

https://ideas.digitalocean.com/

Feel free to share the link to the idea here so other people could find it to and upvote it!

Hope that helps!

- Bobby.