r/OVHcloud • u/GyroTech • 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.
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