alicloud_ecs_disks

This data source provides the Ecs Disks of the current Alibaba Cloud user.

Example Usage

Basic Usage

data "alicloud_ecs_disks" "example" {
  ids        = ["d-artgdsvdvxxxx"]
  name_regex = "tf-test"
}

output "first_ecs_disk_id" {
  value = data.alicloud_ecs_disks.example.disks.0.id
}

Argument Reference

The following arguments are supported:

Argument Reference

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