github.com/koding/terraform@v0.6.4-0.20170608090606-5d7e0339779d/website/source/docs/providers/ovh/d/publiccloud_regions.html.markdown (about)

     1  ---
     2  layout: "ovh"
     3  page_title: "OVH: publiccloud_regions"
     4  sidebar_current: "docs-ovh-datasource-publiccloud-regions"
     5  description: |-
     6    Get the list of regions associated with a public cloud project.
     7  ---
     8  
     9  # publiccloud\_regions
    10  
    11  Use this data source to get the regions of a public cloud project.
    12  
    13  ## Example Usage
    14  
    15  ```hcl
    16  data "ovh_publiccloud_regions" "regions" {
    17    project_id = "XXXXXX"
    18  }
    19  ```
    20  
    21  ## Argument Reference
    22  
    23  
    24  * `project_id` - (Required) The id of the public cloud project. If omitted,
    25      the `OVH_PROJECT_ID` environment variable is used.
    26  
    27  ## Attributes Reference
    28  
    29  `id` is set to the ID of the project. In addition, the following attributes
    30  are exported:
    31  
    32  * `regions` - The list of regions associated with the project