This data source provides the Ebs Regions of the current Alibaba Cloud user.
Basic Usage
data "alicloud_ebs_regions" "default" {
region_id = "cn-hangzhou"
}
output "regions" {
value = data.alicloud_ebs_regions.default.regions
}
The following arguments are supported:
region_id
- (Optional) A list of Disk Replica Group IDs.output_file
- (Optional) File name where to save data source results (after running terraform plan
).The following attributes are exported in addition to the arguments listed above:
regions
- A list of Ebs Regions. Each element contains the following attributes:
region_id
- The ID of the region.zones
- A list of Ebs Zones.
zone_id
- The ID of the zone.