Skip to content

terraform-yacloud-modules/terraform-yandex-container-registry

Repository files navigation

Yandex Cloud Terraform module

Terraform module which creates Yandex Cloud resources.

Examples

Examples codified under the examples are intended to give users references for how to use the module(s) as well as testing/validating changes to the source code of the module. If contributing to the project, please be sure to make any appropriate updates to the relevant examples to allow maintainers to test your changes and to keep the examples up to date for users. Thank you!

Requirements

Name Version
terraform >= 1.3
yandex >= 0.47.0

Providers

Name Version
yandex >= 0.47.0

Modules

No modules.

Resources

Name Type
yandex_container_registry.this resource
yandex_container_registry_iam_binding.this resource
yandex_container_repository.this resource
yandex_container_repository_iam_binding.this resource
yandex_container_repository_lifecycle_policy.this resource
yandex_resourcemanager_folder.this data source

Inputs

Name Description Type Default Required
folder_name Folder that the resource belongs to. If value is omitted, the default provider folder is used string null no
labels Container registry labels map(string) {} no
members The role that should be applied list(string)
[
"system:allUsers"
]
no
registry Container registry name string n/a yes
repos Repositories with role binding and lifecycle_policy map(any) {} no
role The role that should be applied string "puller" no

Outputs

Name Description
registry_id Registry ID

License

Apache-2.0 Licensed. See LICENSE.