github.com/koding/terraform@v0.6.4-0.20170608090606-5d7e0339779d/website/source/docs/providers/ovh/d/publiccloud_region.html.markdown (about) 1 --- 2 layout: "ovh" 3 page_title: "OVH: publiccloud_region" 4 sidebar_current: "docs-ovh-datasource-publiccloud-region" 5 description: |- 6 Get information & status of a region associated with a public cloud project. 7 --- 8 9 # publiccloud\_region 10 11 Use this data source to retrieve information about a region associated with a 12 public cloud project. The region must be associated with the project. 13 14 ## Example Usage 15 16 ```hcl 17 data "ovh_publiccloud_region" "GRA1" { 18 project_id = "XXXXXX" 19 region = "GRA1" 20 } 21 ``` 22 23 ## Argument Reference 24 25 26 * `project_id` - (Required) The id of the public cloud project. If omitted, 27 the `OVH_PROJECT_ID` environment variable is used. 28 29 * `region` - (Required) The name of the region associated with the public cloud 30 project. 31 32 ## Attributes Reference 33 34 `id` is set to the ID of the project concatenated with the name of the region. 35 In addition, the following attributes are exported: 36 37 * `continentCode` - the code of the geographic continent the region is running. 38 E.g.: EU for Europe, US for America... 39 * `datacenterLocation` - The location code of the datacenter. 40 E.g.: "GRA", meaning Gravelines, for region "GRA1" 41 * `services` - The list of public cloud services running within the region 42 * `name` - the name of the public cloud service 43 * `status` - the status of the service