user630702
user630702

Reputation: 3167

Does AWS Lambda NodeJS runtime have python installed?

Does AWS NodeJS 14.x lambda runtime have python installed? I'm using a custom layer with AWS-CLI but it can't use python.

If I have to include python3 into the AWS-CLI Layer, how can I copy the python3 files needed? I think we need to compile python3 so it uses custom lib paths.

Upvotes: 0

Views: 737

Answers (1)

Hossein Heydari
Hossein Heydari

Reputation: 1549

Try this;

Create your own docker image which has Python and NodeJs installed and well it's a linux image so you have flexibility to do anything, then push the image to ECR and create the lambda function from that image.

read this: https://docs.aws.amazon.com/lambda/latest/dg/images-create.html

Upvotes: 1

Related Questions