diff --git a/hello-node/code/handler-http.js b/hello-node/code/handler-http.js index 9766375..16bc1a1 100644 --- a/hello-node/code/handler-http.js +++ b/hello-node/code/handler-http.js @@ -3,6 +3,6 @@ // Используется с sless_trigger (постоянный эндпоинт). exports.handle = async (event) => { const name = event.name || 'World'; - return { message: `Hello, ${name}! HTTP ` }; + return { message: `Hello, ${name}! HTTP !!!` }; }; diff --git a/hello-node/handler-http.zip b/hello-node/handler-http.zip index 8ce3f7d..eb7a08c 100644 Binary files a/hello-node/handler-http.zip and b/hello-node/handler-http.zip differ diff --git a/hello-node/job.tf b/hello-node/job.tf index 59b2d27..cd168bc 100644 --- a/hello-node/job.tf +++ b/hello-node/job.tf @@ -36,7 +36,7 @@ resource "sless_job" "hello_run" { function = sless_function.hello_job.name event_json = jsonencode({ numbers = [1, 2, 3, 4, 5] }) wait_timeout_sec = 600 - run_id = 1 + run_id = 5 } output "job_phase" {