chore: restructured project

This commit is contained in:
ITQ
2025-10-31 15:20:30 +03:00
parent 804444ab74
commit 0dc6551e7c
37 changed files with 28 additions and 0 deletions
+32
View File
@@ -0,0 +1,32 @@
resource "yandex_container_registry" "default" {
name = "default"
labels = {}
}
resource "yandex_container_registry_iam_binding" "default_push" {
registry_id = yandex_container_registry.default.id
role = "container-registry.images.pusher"
members = [
"serviceAccount:${yandex_iam_service_account.registry_push_sa.id}",
]
}
resource "yandex_container_registry_iam_binding" "default_pull" {
registry_id = yandex_container_registry.default.id
role = "container-registry.images.puller"
members = [
"serviceAccount:${yandex_iam_service_account.registry_pull_sa.id}",
]
}
resource "yandex_container_registry_iam_binding" "instance_group_vm_sa_pull" {
registry_id = yandex_container_registry.default.id
role = "container-registry.images.puller"
members = [
"serviceAccount:${yandex_iam_service_account.instance_group_vm_sa.id}",
]
}