The Regions data source allows access to the list of Alicloud Regions.
data "alicloud_regions" "current" { current = true }
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. output_file
- (Optional) The name of file that can save regions data source after running terraform plan
. A list of regions will be exported and its every element contains the following attributes:
id
- ID of the region. local_name
- Name of the region in the local language.
© 2018 HashiCorpLicensed under the MPL 2.0 License.
https://www.terraform.io/docs/providers/alicloud/d/regions.html