I'm tryng to learn aws greengrass and stuck in creating lambda function which requires greengrass sdk env. for running helloworld code in python. As I have no device So I used one EC2 instance acting as an edge device.
While uploading the code in aws lambda getting this error ( "Lambda can't find the file greengrassHelloWorld.py. Make sure that your handler upholds the format: file-name.method.") and referring this document https://docs.aws.amazon.com/greengrass/latest/developerguide/create-lambda.html. Also, function is not visible in Edit Code Inline. Image showing uploaded function and handler as mentioned in the docs