-
Notifications
You must be signed in to change notification settings - Fork 490
Closed
Labels
bugThis issue is a bug.This issue is a bug.documentationThis is a problem with documentation.This is a problem with documentation.module/lambda-test-toolp2This is a standard priority issueThis is a standard priority issuequeued
Description
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
{
"Information": [
"This file provides default values for the deployment wizard inside Visual Studio and the AWS Lambda commands added to the .NET Core CLI.",
"To learn more about the Lambda commands with the .NET Core CLI execute the following command at the command line in the project root directory.",
"dotnet lambda help",
"All the command line options for the Lambda command can be specified in this file."
],
"profile": "default",
"region": "eu-west-1",
"configuration": "Release",
"function-runtime": "provided.al2",
"function-memory-size": 256,
"function-timeout": 30,
"function-handler": "bootstrap",
"msbuild-parameters": "--self-contained true"
}
{
"profiles": {
"Mock Lambda Test Tool": {
"commandName": "Executable",
"commandLineArgs": "--no-ui --payload payload.json",
"workingDirectory": ".\\bin\\$(Configuration)\\net7.0",
"executablePath": "C:\\Users\\%USERNAME%\\.dotnet\\tools\\dotnet-lambda-test-tool-7.0.exe",
"args": [ "--port 5050" ]
}
}
}
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
Metadata
Metadata
Assignees
Labels
bugThis issue is a bug.This issue is a bug.documentationThis is a problem with documentation.This is a problem with documentation.module/lambda-test-toolp2This is a standard priority issueThis is a standard priority issuequeued