Yandex Cloud
Search
Contact UsGet started
  • Pricing
  • Customer Stories
  • Documentation
  • Blog
  • All Services
  • System Status
    • Featured
    • Infrastructure & Network
    • Data Platform
    • Containers
    • Developer tools
    • Serverless
    • Security
    • Monitoring & Resources
    • AI for business
    • Business tools
  • All Solutions
    • By industry
    • By use case
    • Economics and Pricing
    • Security
    • Technical Support
    • Start testing with double trial credits
    • Cloud credits to scale your IT product
    • Gateway to Russia
    • Cloud for Startups
    • Center for Technologies and Society
    • Yandex Cloud Partner program
  • Pricing
  • Customer Stories
  • Documentation
  • Blog
© 2025 Direct Cursus Technology L.L.C.
Terraform in Yandex Cloud
  • Getting started
  • Solution library
    • Overview
    • Release notes
          • cdn_origin_group
          • cdn_resource

In this article:

  • Example usage
  • Schema
  • Optional
  • Read-Only
  • Nested Schema for origin
  1. Terraform reference
  2. Resources
  3. Cloud Content Delivery Network (CDN)
  4. Data Sources
  5. cdn_origin_group

yandex_cdn_origin_group (Data Source)

Written by
Yandex Cloud
Updated at October 20, 2025
  • Example usage
  • Schema
    • Optional
    • Read-Only
    • Nested Schema for origin

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
}

SchemaSchema

OptionalOptional

  • folder_id (String) The folder identifier that resource belongs to. If it is not provided, the default provider folder-id is used.
  • name (String) The resource name.
  • origin_group_id (String) The ID of a specific origin group.

Read-OnlyRead-Only

  • id (String) The ID of this resource.
  • origin (Set of Object) A set of available origins. (see below for nested schema)
  • provider_type (String) CDN provider is a content delivery service provider
  • use_next (Boolean) 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.

Nested Schema for Nested Schema for origin

Read-Only:

  • backup (Boolean) Specifies whether the origin is used in its origin group as backup. A backup origin is used when one of active origins becomes unavailable.

  • enabled (Boolean) The origin is enabled and used as a source for the CDN. Default enabled.

  • origin_group_id (String) The ID of a specific origin group.

  • source (String) IP address or Domain name of your origin and the port.

Was the article helpful?

Previous
billing_cloud_binding
Next
cdn_resource
© 2025 Direct Cursus Technology L.L.C.