This data source provides the available zones with the Application Load Balancer (ALB) Instance of the current Alibaba Cloud user.
Basic Usage
data "alicloud_alb_zones" "example" {}
output "first_alb_zones_id" {
value = data.alicloud_alb_zones.example.zones.0.zone_id
}
The following arguments are supported:
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:
ids
- A list of alb instance zone IDs.zones
- A list of alb Instance zones. Each element contains the following attributes:
id
- The ID of zone.zone_id
- The zone ID.local_name
- The local name.