mirror of
https://github.com/devitq/yandexcloud-k3s.git
synced 2026-09-22 05:00:37 +00:00
feat(terraform): updated configs for yc lab
This commit is contained in:
@@ -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
|
||||
})
|
||||
}
|
||||
Reference in New Issue
Block a user