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

Enhancement request: Enhance Droplet Create API to also take project id #455

Open
Utsavk opened this issue May 23, 2021 · 5 comments
Open
Labels
do-api Depends on changes to the DigitalOcean API enhancement

Comments

@Utsavk
Copy link

Utsavk commented May 23, 2021

I have not found the option for mentioning project id in create droplet API. As per my understanding, a created droplet is first assigned to the default project and then another API call is required for assigning it to the desired project. This can be optimized by accepting the project id as an optional input parameter of create API.
I would like to contribute for this.

@ChiefMateStarbuck
Copy link
Member

Per my comment, we at DO are planning how best to execute this feature. We will update the you and larger community as soon as more details become available.

@Zarquan
Copy link

Zarquan commented Aug 26, 2021

Not just for droplets. Ideally we would like to be able to use --project when creating things like Kubernetes clusters, load balancers etc. .. anything really.

@Zarquan
Copy link

Zarquan commented Aug 26, 2021

You don't need to change the server side REST API. This could be wrapped up in the doctl client. Resources could be created in the default project as now, but if the --project option is specified the doctl client makes the extra call to move the resource to the specified project.

@arnav13081994
Copy link

This would be a great addition

@amoralesc
Copy link

Commenting here to cross-reference that the latest doctl release finally added a --project-id flag when creating a project. The specific issue is here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
do-api Depends on changes to the DigitalOcean API enhancement
Projects
None yet
Development

No branches or pull requests

6 participants