yandex_compute_placement_group (Data Source)
Статья создана
Обновлена 11 сентября 2025 г.
Get information about a Yandex Compute Placement group. For more information, see the official documentation.
Важно
One of group_id or name should be specified.
Example usage
//
// Get information about existing Compute Placement Group
//
data "yandex_compute_placement_group" "my_group" {
group_id = "some_group_id"
}
output "placement_group_name" {
value = data.yandex_compute_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.placement_strategy(Map of String) Placement strategy set for group.
Read-Only
created_at(String) The creation timestamp of the resource.id(String) The ID of this resource.