yandex_container_repository (Data Source)
Статья создана
Обновлена 7 августа 2025 г.
Get information about a Yandex Container Repository. For more information, see the official documentation.
Example 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"
}
Schema
Optional
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-Only
id(String) The ID of this resource.