文档

alicloud_alb_zones

更新时间:
一键部署

This data source provides the available zones with the Application Load Balancer (ALB) Instance of the current Alibaba Cloud user.

-> NOTE: Available in v1.132.0+.

Example Usage

Basic Usage

data "alicloud_alb_zones" "example" {}

output "first_alb_zones_id" {
  value = data.alicloud_alb_zones.example.zones.0.zone_id
}

Argument Reference

The following arguments are supported:

  • output_file - (Optional) File name where to save data source results (after running terraform plan).

Argument Reference

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.

  • 本页导读 (0)
文档反馈