Describe the feature
Add a small CLI (lambda-invoke) that can invoke a Lambda function locally (via /invoke) or remotely (via AWS CLI). This mirrors Cargo Lambda’s invoke and improves the developer feedback loop.
- Local testing today requires manual
curl to http://127.0.0.1:7000/invoke
- Remote testing requires
aws lambda invoke commands
Inspiration
Cargo Lambda's invoke provides a simple loop. We can match that experience here with a low-risk change.
Use Case
- Developers run their function locally and invoke it with a single command instead of using curl requests.
- It can be used for remote smoke tests post deployment.
- CI can invoke a local and remote function using a simple CLI.
Proposed Solution
No response
Other Information
No response
Acknowledgements
Describe the feature
Add a small CLI (
lambda-invoke) that can invoke a Lambda function locally (via/invoke) or remotely (viaAWS CLI). This mirrors Cargo Lambda’s invoke and improves the developer feedback loop.curltohttp://127.0.0.1:7000/invokeaws lambda invokecommandsInspiration
Cargo Lambda's
invokeprovides a simple loop. We can match that experience here with a low-risk change.Use Case
Proposed Solution
No response
Other Information
No response
Acknowledgements