» ovh_publiccloud_region
DEPRECATED use ovh_cloud_region instead.
Use this data source to retrieve information about a region associated with a public cloud project. The region must be associated with the project.
» Example Usage
data "ovh_publiccloud_region" "GRA1" {
project_id = "XXXXXX"
region = "GRA1"
}
» Argument Reference
-
project_id- (Required) The id of the public cloud project. If omitted, theOVH_PROJECT_IDenvironment variable is used. -
region- (Required) The name of the region associated with the public cloud project.
» Attributes Reference
id is set to the ID of the project concatenated with the name of the region.
In addition, the following attributes are exported:
-
continent_code- the code of the geographic continent the region is running. E.g.: EU for Europe, US for America... -
datacenter_location- The location code of the datacenter. E.g.: "GRA", meaning Gravelines, for region "GRA1" -
continentCode- (Deprecated) Usecontinent_codeinstead. -
datacenterLocation- (Deprecated) Usedatacenter_locationinstead. -
services- The list of public cloud services running within the region