aws / aws/aws-lambda-builders

Use custom pypi repository

Open
#713 2 comments 0 reactions 0 assignees View on GitHub
blocked/more-info-needed type/feature
Dominant language
Python
Stars
380
Forks
161
Avg merge
1d 1h
Merged PRs (30d)
2

Description

Hi,

we have a pypi repository in CodeArtifact where we push some in-house developed python packages.
Now we would like to use that private pypi repository in our lambda so it can download those "private" packages.

I've been reading the [builder code](https://github.com/aws/aws-lambda-builders/blob/develop/aws_lambda_builders/builder.py) but I do not find a way to configure/use a custom pypi repository.

To my understanding I have two options:

- create a custom Docker image where pypi repo is preconfigured and use it to build the lambda
- upload all packages (dependencies) together with the lambda

I'm not an expert and I was wondering if someone could provide some hint on how to get the custom repo in the lambda though the lambdabuilder instead of going into one of the above options I've listed.

thanks

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.