1 Answer
- Newest
- Most votes
- Most comments
0
Try using docker to create a Lambda Layer by following steps.
It works in my environment.
docker run --rm -v $(pwd):/var/task public.ecr.aws/sam/build-python3.9:latest pip install amazon-textract-response-parser -t python/lib/python3.9/site-packages/
zip -r amazon-textract-response-parser.zip ./python > /dev/null
aws lambda publish-layer-version --layer-name amazon-textract-response-parser --zip-file fileb://amazon-textract-response-parser.zip --compatible-runtimes python3.9
answered 2 years ago
Relevant content
- asked a year ago
- AWS OFFICIALUpdated 3 years ago
- AWS OFFICIALUpdated 9 months ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 4 months ago