nullstone icon indicating copy to clipboard operation
nullstone copied to clipboard

Ad-hoc lambda job

Open BSick7 opened this issue 3 years ago • 0 comments

Summary

This feature allows a developer to create an app in Nullstone and trigger execution of a job from the CLI.

Intended Outcome

We currently support cron jobs and triggered jobs; however, there is no easy way to trigger a job manually. This feature would add a new CLI command nullstone run that runs a lambda function with a payload.

How will it work?

Here are examples of usage for nullstone run command:

nullstone run --app=<app> --env=<env>
nullstone run --app=<app> --env=<env> --payload='some string'
nullstone run --app=<app> --env=<env> --payload=@file_with_payload.json

This command would wait for completion and emit the result of the lambda function.

BSick7 avatar Apr 22 '22 19:04 BSick7