G-Core / terraform-provider-gcorelabs

(DEPRECATED) Gcore Cloud Terraform Provider
https://gcore.com
Mozilla Public License 2.0
15 stars 11 forks source link

data "gcore_region" - search by slug #107

Open baznikin opened 2 years ago

baznikin commented 2 years ago

I am going to host resources in South America and region name is São Paulo. It is inconvenient to search region by name. I propose to make search by region slug or by name (for comparability).

baznikin commented 2 years ago

Another point - where is no documentation or status page with list of all regions. I just started to use your services and already frustrated. The only way to get right name is to find API documentation on website, figure out right tab (there is 'regions' method on first default CDN tab and region name there is South America (São Paulo)) and 'curl' it.

daragok commented 1 year ago

@baznikin could please tell us why it's inconvenient to specify the region name? Could you perhaps attach a code snippet of how you see we should allow it?