Closed mmeidlinger closed 4 months ago
I had this problem as well. I think the Glibc version of the manylinux tag is too new for the runtime. I tried regenerating the zip
file for the Python 3.11 runtime instead, but still got the same problem, with an even newer manylinux tag this time. To actually fix this, run pex3 interpreter inspect --markers --tags
on the AWS Lambda runtime you wish to support, put the result in a file called e.g. complete-platform.json
and give --complete-platform complete-platform.json
to pex
when building the zip
file.
Problem Description
Testing
v0.4.0
gives the following errorHow to reproduce
Create an S3 Bucket
my-bucket
, downloadcertbot-lambda.zip
releasev0.4.0
and upload tos3://my-bucket/certbot-lambda/v0.4.0/certbot-lambda.zip
. Then deploy this Cloudformation to setup cerbot-lambda as described in README.md and trigger the lambda function with a test event from the Console.