alicloud_slb_load_balancers

This data source provides the server load balancers of the current Alibaba Cloud user.

Example Usage

data "alicloud_slb_load_balancers" "example" {
  name_regex = "sample_slb"
  tags = {
    tagKey1 = "tagValue1",
    tagKey2 = "tagValue2"
  }
}

output "first_slb_id" {
  value = data.alicloud_slb_load_balancers.example.balancers[0].id
}

Argument Reference

The following arguments are supported:

Attributes Reference

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