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

In this article:

  • Example usage
  • Arguments & Attributes Reference
  1. Terraform reference
  2. Resources
  3. Container Registry
  4. Data Sources
  5. container_repository

yandex_container_repository (DataSource)

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

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"
}

Arguments & Attributes ReferenceArguments & Attributes Reference

  • id (String).
  • 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.

Was the article helpful?

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