Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ability to deploy droplet from custom image (or snapshot) #358

Open
Lusitaniae opened this issue Mar 28, 2024 · 0 comments
Open

Ability to deploy droplet from custom image (or snapshot) #358

Lusitaniae opened this issue Mar 28, 2024 · 0 comments

Comments

@Lusitaniae
Copy link

Lusitaniae commented Mar 28, 2024

DigitalOcean only provides a few images by default (Ubuntu, Debian, Fedora, Centos, etc)

But they support the optioon to deploy custom images and or deploy from a VM snapshot too which can be very useful in automation

SUMMARY

either image_id should accept an integer value and find the respective image, or a new field should be created

https://docs.digitalocean.com/reference/api/api-reference/#operation/droplets_create

the API supports reading the slug or image id from the same field

ISSUE TYPE
  • Feature Idea
COMPONENT NAME

community.digitalocean.digital_ocean_droplet

ADDITIONAL INFORMATION
- name: Launch DO
  community.digitalocean.digital_ocean_droplet:
    state: present
    name: "my-app"
    size: "c-2"
    image_id: "4567432"
    region: "nyc1"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant