github.com/pbthorste/terraform@v0.8.6-0.20170127005045-deb56bd93da2/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  ```
    16  data "alicloud_regions" "current" {
    17  	current = true
    18  }
    19  
    20  ```
    21  
    22  ## Argument Reference
    23  
    24  The following arguments are supported:
    25  
    26  * `name` - (Optional) The full name of the region to select.
    27  * `current` - (Optional) Set to true to match only the region configured in the provider.
    28  
    29  ## Attributes Reference
    30  
    31  The following attributes are exported:
    32  
    33  * `id` - ID of the region.
    34  * `local_name` - Name of the region in the local language.