Skip to content

Releases: bdwyertech/docker-lambda

Windows Local Testing

27 Jun 15:22
23e758d

Choose a tag to compare

Windows Local Testing Pre-release
Pre-release

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