2017-01-19 15:08:56 +01:00
|
|
|
---
|
|
|
|
layout: "alicloud"
|
|
|
|
page_title: "Alicloud: alicloud_regions"
|
|
|
|
sidebar_current: "docs-alicloud-datasource-regions"
|
|
|
|
description: |-
|
|
|
|
Provides a list of Availability Regions which can be used by an Alicloud account.
|
|
|
|
---
|
|
|
|
|
2017-04-05 17:30:46 +02:00
|
|
|
# alicloud_regions
|
2017-01-19 15:08:56 +01:00
|
|
|
|
|
|
|
The Regions data source allows access to the list of Alicloud Regions.
|
|
|
|
|
|
|
|
## Example Usage
|
|
|
|
|
2017-04-05 17:30:46 +02:00
|
|
|
```hcl
|
2017-01-19 15:08:56 +01:00
|
|
|
data "alicloud_regions" "current" {
|
2017-02-18 23:48:50 +01:00
|
|
|
current = true
|
2017-01-19 15:08:56 +01:00
|
|
|
}
|
|
|
|
```
|
|
|
|
|
|
|
|
## Argument Reference
|
|
|
|
|
|
|
|
The following arguments are supported:
|
|
|
|
|
|
|
|
* `name` - (Optional) The full name of the region to select.
|
|
|
|
* `current` - (Optional) Set to true to match only the region configured in the provider.
|
|
|
|
|
|
|
|
## Attributes Reference
|
|
|
|
|
|
|
|
The following attributes are exported:
|
|
|
|
|
|
|
|
* `id` - ID of the region.
|
|
|
|
* `local_name` - Name of the region in the local language.
|