aws-samples/aws-lambda-extensions

s3-logs-extension-demo-zip-archive: ModuleNotFoundError: No module named 'boto3'

richgiuli opened this issue · 1 comments

Steps to reproduce:
git clone https://github.com/aws-samples/aws-lambda-extensions
cd aws-lambda-extensions/s3-logs-extension-demo-zip-archive
sam deploy --stack-name s3-logs-extension-demo --guided
Accept defaults, region us-west2 used.
aws lambda invoke --function-name "logs-extension-demo-function" --payload '{"payload": "hello"}' /tmp/invoke-result --cli-binary-format raw-in-base64-out --log-type Tail --region us-west-2

See attached CW log error: ModuleNotFoundError: No module named 'boto3'

Screen Shot 2022-11-03 at 12 51 57 PM

FYI, used a container image instead, the issue was local