lambci / docker-lambda

Docker images and test runners that replicate the live AWS Lambda environment
MIT License
5.84k stars 431 forks source link

Boto3 SDK missing from Python3.8 #333

Open mdavis-xyz opened 3 years ago

mdavis-xyz commented 3 years ago

Summary

I expect both build and run containers to have boto3 pre-installed, since there's a version of boto3 pre-installed in real lambdas.

Note that the exact versions of boto3 and botocore that should be installed can be found here.

Steps to reproduce

Build this image:

FROM lambci/lambda:build-python3.8
RUN python3 -c 'import boto3'

Expected behavior

Image build sucessfully. i.e. boto3 is already installed

Actual behavior

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ModuleNotFoundError: No module named 'boto3'