Closed patelneel1994 closed 5 years ago
Never mind I got it by passing the parameter like below docker run --rm -v "$PWD":/var/task lambci/lambda:dotnetcore2.1 MyFunction::MyFunction.Function::FunctionHandler \"input\"
I basically had to add backward slashes before each double quote.
I am getting below error when I try to invoke the lambda function. I am fairly new to Docker. I just wanted to make sure I am not doing anything crazy. Looking at the error below, it seems like it is having issue with parsing json event. I have also tried to feed
"{"input": "event"}"
, but still having issue with parsing json. I may be just doing something wrong.