yandex_alb_target_group (Data Source)
Статья создана
Обновлена 11 сентября 2025 г.
Get information about a Yandex Application Load Balancer target group. For more information, see Yandex Cloud Application Load Balancer.
This data source is used to define Application Load Balancer Target Groups that can be used by other resources.
Важно
One of target_group_id or name should be specified.
Example usage
//
// Get information about existing ALB Target Group
//
data "yandex_alb_target_group" "foo" {
target_group_id = "my-target-group-id"
}
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.name(String) The resource name.target_group_id(String) Target Group ID.
Read-Only
created_at(String) The creation timestamp of the resource.id(String) The ID of this resource.labels(Map of String) A set of key/value label pairs which assigned to resource.target(List of Object) (see below for nested schema)
Nested Schema for target
Read-Only:
-
ip_address(String) IP address of the target. -
private_ipv4_address(Boolean) -
subnet_id(String) ID of the subnet that targets are connected to. All targets in the target group must be connected to the same subnet within a single availability zone.