1 回答
- 最新
- 投票最多
- 评论最多
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
已回答 2 年前
相关内容
- AWS 官方已更新 4 个月前
- AWS 官方已更新 3 年前
- AWS 官方已更新 1 年前