-
Notifications
You must be signed in to change notification settings - Fork 479
New issue
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
Missing documentation on running AOT lambdas in test tool #1539
Comments
@SamuelCox Thanks for reporting the issue. Please refer to https://github.com/aws/aws-lambda-dotnet/blob/master/Tools/LambdaTestTool/README.md#testing-executable-assemblies for testing Native AOT Lambda functions. These are compiled as executable assemblies. More information can be found in the test tool documentation available at http://localhost:5050/documentation (this is the endpoint after Test tool is launched). Please let me know if it helps. Thanks, |
@SamuelCox Here are the updated steps working for me:
{
"profiles": {
"LambdaNativeAOT": {
"commandName": "Project",
"environmentVariables": {
"AWS_LAMBDA_RUNTIME_API": "localhost:5050",
"AWS_PROFILE": "default",
"AWS_REGION": "us-east-2"
}
}
}
}
Breakpoint in Visual Studio should be hit now. I agree the Lambda Test Tool documentation needs to be elaborated or made more clear. Thanks, |
Describe the issue
As far as I can tell, there is no proper documentation on how to use the lambda test tool for .net 7 AOT
throws this error:
If I listen to the error message (which every amazon sample on line uses "bootstrap" as the handler for aot) then I get this
Would massively appreciate proper documentation on this and/or a description of what I'm doing wrong
Links
https://github.com/aws/aws-lambda-dotnet/blob/master/Tools/LambdaTestTool/README.md
The text was updated successfully, but these errors were encountered: