github.com/nathanielks/terraform@v0.6.1-0.20170509030759-13e1a62319dc/website/source/docs/providers/alicloud/d/regions.html.markdown (about)

     1  ---
     2  layout: "alicloud"
     3  page_title: "Alicloud: alicloud_regions"
     4  sidebar_current: "docs-alicloud-datasource-regions"
     5  description: |-
     6      Provides a list of Availability Regions which can be used by an Alicloud account.
     7  ---
     8  
     9  # alicloud_regions
    10  
    11  The Regions data source allows access to the list of Alicloud Regions.
    12  
    13  ## Example Usage
    14  
    15  ```hcl
    16  data "alicloud_regions" "current" {
    17    current = true
    18  }
    19  ```
    20  
    21  ## Argument Reference
    22  
    23  The following arguments are supported:
    24  
    25  * `name` - (Optional) The full name of the region to select.
    26  * `current` - (Optional) Set to true to match only the region configured in the provider.
    27  
    28  ## Attributes Reference
    29  
    30  The following attributes are exported:
    31  
    32  * `id` - ID of the region.
    33  * `local_name` - Name of the region in the local language.