yandex_alb_http_router (DataSource)
Статья создана
Обновлена 12 февраля 2026 г.
Get information about a Yandex Application Load Balancer HTTP Router. For more information, see Yandex Cloud Application Load Balancer.
This data source is used to define Application Load Balancer HTTP Router that can be used by other resources.
Важно
One of http_router_id or name should be specified.
Example usage
//
// Get information about existing ALB HTTP Router
//
data "yandex_alb_http_router" "tf-router" {
http_router_id = "my-http-router-id"
}
Arguments & Attributes Reference
created_at(Read-Only) (String). The creation timestamp of the resource.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.http_router_id(String). HTTP Router ID.id(String).labels(Map Of String). A set of key/value label pairs which assigned to resource.name(String). The resource name.route_options[Block]. Route options for the virtual host.rbac[Block]. RBAC configuration.action(String).principals[Block].and_principals[Block].any(Bool).header[Block].name(Required)(String).value[Block]. Thepathandfqmnblocks.
Важно
Exactly one type of string matches exact, prefix or regex should be specified.
- `exact` (String). Match exactly.
- `prefix` (String). Match prefix.
- `regex` (String). Match regex.
- `remote_ip` (String).
security_profile_id(String). SWS profile ID.