From 11e4f28fb44304806ffef9b2aaf6dc1eaa8f2bf0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=9CNaeel=E2=80=9D?= Date: Mon, 9 Mar 2026 09:03:00 +0400 Subject: [PATCH] =?UTF-8?q?refactor:=20hello-node=20=E2=80=94=20zip-=D1=84?= =?UTF-8?q?=D0=B0=D0=B9=D0=BB=D1=8B=20=D0=B2=20dist/,=20=D0=B8=D1=81=D1=85?= =?UTF-8?q?=D0=BE=D0=B4=D0=BD=D0=B8=D0=BA=D0=B8=20=D0=BE=D1=81=D1=82=D0=B0?= =?UTF-8?q?=D1=8E=D1=82=D1=81=D1=8F=20=D0=B2=20code/?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hello-node/{ => dist}/handler-http.zip | Bin hello-node/{ => dist}/handler-job.zip | Bin hello-node/http.tf | 2 +- hello-node/job.tf | 2 +- 4 files changed, 2 insertions(+), 2 deletions(-) rename hello-node/{ => dist}/handler-http.zip (100%) rename hello-node/{ => dist}/handler-job.zip (100%) diff --git a/hello-node/handler-http.zip b/hello-node/dist/handler-http.zip similarity index 100% rename from hello-node/handler-http.zip rename to hello-node/dist/handler-http.zip diff --git a/hello-node/handler-job.zip b/hello-node/dist/handler-job.zip similarity index 100% rename from hello-node/handler-job.zip rename to hello-node/dist/handler-job.zip diff --git a/hello-node/http.tf b/hello-node/http.tf index c45fd6a..d7d796a 100644 --- a/hello-node/http.tf +++ b/hello-node/http.tf @@ -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" { diff --git a/hello-node/job.tf b/hello-node/job.tf index 8c54270..30ac4f0 100644 --- a/hello-node/job.tf +++ b/hello-node/job.tf @@ -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" {