mirror of
https://github.com/devitq/yandexcloud-k3s.git
synced 2026-09-20 21:40:34 +00:00
chore: restructured project
This commit is contained in:
@@ -0,0 +1,34 @@
|
||||
resource "yandex_storage_bucket" "frontend" {
|
||||
bucket = local.final_frontend_domain
|
||||
default_storage_class = "STANDARD"
|
||||
force_destroy = false
|
||||
max_size = 104857600
|
||||
|
||||
anonymous_access_flags {
|
||||
config_read = false
|
||||
list = true
|
||||
read = true
|
||||
}
|
||||
}
|
||||
|
||||
resource "yandex_storage_bucket" "frontend_develop" {
|
||||
bucket = local.final_frontend_develop_domain
|
||||
default_storage_class = "STANDARD"
|
||||
force_destroy = false
|
||||
max_size = 104857600
|
||||
|
||||
anonymous_access_flags {
|
||||
config_read = false
|
||||
list = true
|
||||
read = true
|
||||
}
|
||||
}
|
||||
|
||||
resource "yandex_storage_bucket_iam_binding" "frontend_bucket_push" {
|
||||
bucket = yandex_storage_bucket.frontend.bucket
|
||||
role = "storage.editor"
|
||||
|
||||
members = [
|
||||
"serviceAccount:${yandex_iam_service_account.frontend_push_sa.id}",
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user