yandex_compute_disk_placement_group (Data Source)
Статья создана
Обновлена 11 сентября 2025 г.
Get information about a Yandex Compute Disk Placement group. For more information, see the official documentation.
Важно
One of group_id or name should be specified.
Example usage
//
// Get information about existing Disk Placement Group.
//
data "yandex_compute_disk_placement_group" "my_group" {
group_id = "some_group_id"
}
output "placement_group_name" {
value = data.yandex_compute_disk_placement_group.my_group.name
}
Schema
Optional
description(String) The resource description.folder_id(String) The folder identifier that resource belongs to. If it is not provided, the default providerfolder-idis used.group_id(String) The ID of a specific group.labels(Map of String) A set of key/value label pairs which assigned to resource.name(String) The resource name.zone(String) The availability zone where resource is located. If it is not provided, the default provider zone will be used.
Read-Only
created_at(String) The creation timestamp of the resource.id(String) The ID of this resource.status(String) Status of the Disk Placement Group.