chore(terraform/main): migrated to new terraform templating API

This commit is contained in:
ITQ
2026-07-27 13:06:14 +03:00
parent 7237a5d5db
commit 9c55d363e0
6 changed files with 72 additions and 75 deletions
+3 -1
View File
@@ -17,5 +17,7 @@ resource "yandex_api_gateway" "frontend" {
min_level = "INFO"
}
spec = data.template_file.frontend_api_gateway_spec.rendered
spec = templatefile("${path.module}/configs/api_gateway/spec.yaml", {
bucket_name = yandex_storage_bucket.frontend.bucket
})
}