feat(terraform): updated configs for yc lab

This commit is contained in:
ITQ
2026-08-18 23:11:31 +03:00
parent d9105dee7b
commit 48f67a284e
13 changed files with 101 additions and 25 deletions
+23
View File
@@ -0,0 +1,23 @@
resource "yandex_api_gateway" "frontend" {
name = "frontend"
description = "API Gateway for frontend"
execution_timeout = "300"
connectivity {
network_id = yandex_vpc_network.default.id
}
custom_domains {
fqdn = local.final_frontend_domain
certificate_id = yandex_cm_certificate.default.id
}
log_options {
log_group_id = yandex_logging_group.api_gateway.id
min_level = "INFO"
}
spec = templatefile("${path.module}/configs/api_gateway/spec.yaml", {
bucket_name = yandex_storage_bucket.frontend.bucket
})
}