Yandex Cloud
Documentation
PresentationContact UsTry it for free
© 2026 Direct Cursus Technology L.L.C.
Terraform in Yandex Cloud
  • Getting started
  • Setting up Yandex Cloud Terraform provider authentication
  • Solution library
    • Overview
    • Release notes
          • cdn_origin_group
          • cdn_resource

In this article:

  • Example usage
  • Arguments & Attributes Reference
  1. Terraform reference
  2. Resources
  3. Cloud CDN
  4. Data Sources
  5. cdn_origin_group

yandex_cdn_origin_group (DataSource)

Written by
Yandex Cloud
Updated at September 23, 2026
View in Markdown
  • Example usage
  • Arguments & Attributes Reference

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 usageExample 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 ReferenceArguments & Attributes Reference

  • folder_id (String). The folder identifier that resource belongs to. If it is not provided, the default provider folder-id is 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 provider
  • use_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.

Was the article helpful?

Previous
backup_policy_bindings
Next
cdn_resource
© 2026 Direct Cursus Technology L.L.C.