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
          • container_registry
          • container_registry_ip_permission
          • container_repository
          • container_repository_lifecycle_policy

In this article:

  • Example usage
  • Schema
  • Optional
  • Read-Only
  1. Terraform reference
  2. Resources
  3. Container Registry
  4. Data Sources
  5. container_repository

yandex_container_repository (Data Source)

Written by
Yandex Cloud
Updated at August 7, 2025
  • Example usage
  • Schema
    • Optional
    • Read-Only

Get information about a Yandex Container Repository. For more information, see the official documentation.

Example usageExample usage

//
// Get information about existing Container Repository
//
data "yandex_container_repository" "repo-1" {
  name = "some_repository_name"
}

data "yandex_container_repository" "repo-2" {
  repository_id = "some_repository_id"
}

SchemaSchema

OptionalOptional

  • name (String) A name of the repository. The name of the repository should start with id of a container registry and match the name of the images that will be pushed in the repository.
  • repository_id (String) The ID of a specific repository.

Read-OnlyRead-Only

  • id (String) The ID of this resource.

Was the article helpful?

Previous
container_registry_ip_permission
Next
container_repository_lifecycle_policy
© 2025 Direct Cursus Technology L.L.C.