refactor: hello-node — zip-файлы в dist/, исходники остаются в code/

This commit is contained in:
“Naeel” 2026-03-09 09:03:00 +04:00
parent c958927e69
commit 11e4f28fb4
4 changed files with 2 additions and 2 deletions

View File

@ -10,7 +10,7 @@
data "archive_file" "handler_http" {
type = "zip"
source_file = "${path.module}/code/handler-http.js"
output_path = "${path.module}/handler-http.zip"
output_path = "${path.module}/dist/handler-http.zip"
}
resource "sless_function" "hello_http" {

View File

@ -12,7 +12,7 @@
data "archive_file" "handler_job" {
type = "zip"
source_file = "${path.module}/code/handler-job.js"
output_path = "${path.module}/handler-job.zip"
output_path = "${path.module}/dist/handler-job.zip"
}
resource "sless_function" "hello_job" {