yandex_cdn_origin_group (DataSource)
Written by
Updated at September 23, 2026
Get information about a Yandex CDN Origin Group. For more information, see the official documentation.
Warning
One of origin_group_id or name should be specified.
Example usage
//
// Get information about existing CDN Origin Group
//
data "yandex_cdn_origin_group" "my_group" {
origin_group_id = "some_instance_id"
}
output "origin_group_name" {
value = data.yandex_cdn_origin_group.my_group.name
}
Arguments & Attributes Reference
folder_id(String). The folder identifier that resource belongs to. If it is not provided, the default providerfolder-idis used.id(String).name(String). The resource name.origin(Read-Only) (Set Of Object). A set of available origins.backup.enabled.origin_group_id.source.
origin_group_id(String). The ID of a specific origin group.provider_type(Read-Only) (String). CDN provider is a content delivery service provideruse_next(Read-Only) (Bool). If the option is active (has true value), in case the origin responds with 4XX or 5XX codes, use the next origin from the list.