aws-lambda-jenkins-plugin icon indicating copy to clipboard operation
aws-lambda-jenkins-plugin copied to clipboard

[Feature request] File as payload

Open mputilin opened this issue 7 years ago • 0 comments

AWS CLI has ability to use file as payload: aws lambda invoke --payload file://test_event.json I tried to go the same way, but unsuccessful:

Payload:
file://test_event.json

ERROR: Build step failed with exception
java.lang.RuntimeException: com.amazonaws.services.lambda.model.InvalidRequestContentException: Could not parse request body into json: Unrecognized token 'file': was expecting 'null', 'true', 'false' or NaN

Please, add such feature it should be straightforward.

mputilin avatar Nov 15 '18 13:11 mputilin