Terraform reference for Yandex Container Registry
Warning
Starting October 13, 2026, Yandex Container Registry will be unavailable to new users.
The existing users can create resources until November 10, 2026. Afterwards, Yandex Container Registry will go read-only and cease to operate on December 14, 2026. For more information on how it will be handled, see this article on Yandex Container Registry sunset.
With Terraform
Terraform is distributed under the Business Source License
For more information about Terraform, see this tutorial.
Resources
Container Registry supports the following Terraform provider resources:
| Terraform resource | Yandex Cloud resource |
|---|---|
| yandex_container_registry | Registry |
| yandex_container_registry_iam_binding | Assigning access permissions for a registry |
| yandex_container_registry_ip_permission | Registry access |
| yandex_container_repository | Repository |
| yandex_container_repository_iam_binding | Assigning access permissions for a repository |
| yandex_container_repository_lifecycle_policy | Docker image lifecycle policy |
Data sources
Container Registry supports the following Terraform provider data sources:
| Terraform data source | Description |
|---|---|
| yandex_container_registry | Registry information |
| yandex_container_registry_ip_permission | Registry access information |