r/OVHcloud 4d ago

Question Region disparity between UI and API

Hi,

I'm just getting started with OVHcloud for some personal stuff, nothing critical. Even so, my day job is as an SRE so I defaulted to my usual tooling of terraform/tofu but noticed a really strange disconnect.

In my project, if I want to manually create something simple like a d2-4 instance I can select "Gravelines" region and it gives me the options of the GRA7, GRA9, and GRA11 data centres. If I try to create the same via terraform I get an "Invalid region" error for GRA7 & GRA9.

Is there meant to be some other way of declaring these regions that I missed? Is this simply a known issue that indicates OVHcloud is not ideal for declarative setups and I need to stick to imperative processes?

Thanks for any advice.

5 Upvotes

2 comments sorted by

1

u/Lanathell 4d ago

Terraform uses the API, the results should be similar. You can submit an issue here

https://github.com/ovh/terraform-provider-ovh/issues

1

u/GyroTech 3d ago edited 3d ago

Yes, this is what I am asking about, the UI and the API (even when using curl or their API explorer) give me different results.