terraform-provider-ovh icon indicating copy to clipboard operation
terraform-provider-ovh copied to clipboard

Is it possible to start a dedicated server?

Open botzill opened this issue 5 years ago • 3 comments

Hi.

Currently I don't see if using the provider we can start a dedicated server?

Thx.

botzill avatar Feb 14 '20 08:02 botzill

hi @botzill

currently:

  • you cannot order a dedicated server, you have to order it and have available on your account
  • once it's available, you can reboot it or launch "install tasks" based on custom installation templates

here-s an example:

https://github.com/ovh/terraform-ovh-commons/blob/master/examples/k8s-sd-openstack/modules/baremetal-hosts/main.tf

does it answer your question ?

yanndegat avatar Feb 14 '20 08:02 yanndegat

I see.

I thought I can automate the ordering as well? Because we may need multiple servers and some times we will switch off few and start other when needed. Do I need to manually manage all this?

botzill avatar Feb 14 '20 11:02 botzill

yes, you cannot order servers automatically through the provider.

yanndegat avatar Mar 02 '20 13:03 yanndegat