-
Notifications
You must be signed in to change notification settings - Fork 413
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
No module named 'lambda_function' #4562
Comments
It looks like you are using the AWS Toolkit for VS Code, not the AWS Toolkit for Visual Studio. I will transfer this issue to the correct repo. |
In the SAM template,
Not possible currently.
I believe the events/ folder is for sample payloads used by SAM CLI. The AWS Toolkit "Upload Lambda" doesn't do anything with that folder, currently. |
Describe the bug
lambda_function is not locatable when executed from aws lambda console when locally things work fine.
To Reproduce
Expected behavior
Lambda should execute without giving this error: No module named 'lambda_function'
Screenshots
Attaching
StripeWebhookProcessor.tgz: Use this to open vcode and upload to lambda
Toolkit Logs
If applicable, attach toolkit logs by navigating to Extensions / AWS Toolkit / View Toolkit Logs: This navigation is not showing up.
I have checked the folder and adding following files from the folder ~/Library/Application Support/Code/logs/20240320T084750 for whatever executed today (20Mar). If something else is reqd let me know.
.//window3/exthost/amazonwebservices.aws-toolkit-vscode/aws_toolkit_20240320T084758.log
.//window2/exthost/amazonwebservices.aws-toolkit-vscode/aws_toolkit_20240320T084759.log
.//window1/exthost/amazonwebservices.aws-toolkit-vscode/aws_toolkit_20240320T084757.log
Development System (please complete the following information):
Additional context
Following are few things I want to rectify wrt the files template.yaml, samconfig.toml using cli or click buttons rather than manually editing the file. How to do these?
Thanks
The text was updated successfully, but these errors were encountered: