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" {