Releases: bdwyertech/docker-lambda
Releases · bdwyertech/docker-lambda
Windows Local Testing
This lets you test your Golang lambdas locally without Docker on Windows.
Basically you dump your simulated event to AWS_LAMBDA_EVENT_BODY and you AWS_LAMBDA_FUNCTION_HANDLER to the path of your compiled Lambda.
You can do something like this:
$env:AWS_LAMBDA_FUNCTION_HANDLER = 'my_lambda_function.exe'
$env:AWS_LAMBDA_EVENT_BODY = [IO.File]::ReadAllText("$PWD/event.json")
aws-lambda-mock.exe