alicloud_slb_attachments

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

Example Usage

data "alicloud_slb_attachments" "sample_ds" {
  load_balancer_id = "${alicloud_slb_load_balancer.sample_slb.id}"
}

output "first_slb_attachment_instance_id" {
  value = "${data.alicloud_slb_attachments.sample_ds.slb_attachments.0.instance_id}"
}

Argument Reference

The following arguments are supported:

Attributes Reference

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