» alicloud_slb_zones

This data source provides availability zones for SLB that can be accessed by an Alibaba Cloud account within the region configured in the provider.

» Example Usage

# Declare the data source
data "alicloud_slb_zones" "zones_ids" {}

» Argument Reference

The following arguments are supported:

  • output_file - (Optional) File name where to save data source results (after running terraform plan).
  • enable_details - (Optional) Default to false and only output id in the zones block. Set it to true can output more details.
  • available_slb_address_type - (Optional) Filter the results by a slb instance address type. Can be either Vpc, classic_internet or classic_intranet
  • available_slb_address_ip_version - (Optional) Filter the results by a slb instance address version. Can be either ipv4, or ipv6.

» Attributes Reference

The following attributes are exported in addition to the arguments listed above:

  • ids - A list of zone IDs.
  • zones - A list of availability zones. Each element contains the following attributes:
    • id - ID of the zone.
    • slb_slave_zone_ids - A list of slb slave zone ids in which the slb master zone.