yandex_logging_group (Data Source)
Статья создана
Обновлена 11 сентября 2025 г.
Get information about a Yandex Cloud Logging group. For more information, see the official documentation.
Важно
If group_id is not specified name and folder_id will be used to designate Yandex Cloud Logging group.
Example usage
//
// Get information about existing Logging Group.
//
data "yandex_logging_group" "my_group" {
group_id = "some_yandex_logging_group_id"
}
output "log_group_retention_period" {
value = data.yandex_logging_group.my_group.retention_period
}
Schema
Optional
folder_id(String) The folder identifier that resource belongs to. If it is not provided, the default providerfolder-idis used.group_id(String) The Yandex Cloud Logging group ID.name(String) The resource name.
Read-Only
cloud_id(String) TheCloud IDwhich resource belongs to. If it is not provided, the default providercloud-idis used.created_at(String) The creation timestamp of the resource.data_stream(String) Data Stream.description(String) The resource description.id(String) The ID of this resource.labels(Map of String) A set of key/value label pairs which assigned to resource.retention_period(String) Log entries retention period for the Yandex Cloud Logging group.status(String) The Yandex Cloud Logging group status.