We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I have a 2 lambdas:
CloudWatchEvent
Handle()
LambdaFunctionURLRequest
I'm able to successfully test with aws-lambda-riethe first Lambda but not the second one
aws-lambda-rie
Even with a quite naive handler:
func Handle(ctx context.Context, request events.LambdaFunctionURLRequest) error { log.Printf("body: %s", request.RawPath) return nil }
Is it possible to test this "new" kind of lambdas using aws-lambda-runtime ? Am I doing something wrong ?
aws-lambda-runtime
The text was updated successfully, but these errors were encountered:
You have to setup the payload to match the LambdaFunctionURLRequest event. Take a look at https://github.com/aws/aws-lambda-go/blob/main/events/testdata/lambda-urls-request.json
Note that you have to stringify JSON for the "body" Field.
Sorry, something went wrong.
No branches or pull requests
I have a 2 lambdas:
CloudWatchEvent
as the second argument of theHandle()
functionLambdaFunctionURLRequest
as the second argument of theHandle()
functionI'm able to successfully test with
aws-lambda-rie
the first Lambda but not the second oneEven with a quite naive handler:
Is it possible to test this "new" kind of lambdas using
aws-lambda-runtime
? Am I doing something wrong ?The text was updated successfully, but these errors were encountered: