-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Add option to customize images used for lambda execution #7317
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 👍 - thanks for jumping on this one! 🚀
localstack/services/awslambda/invocation/docker_runtime_executor.py
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! nice clean config + implementation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
Adds a
RuntimeImageResolver
class and a corresponding new config variableLAMBDA_RUNTIME_IMAGE_MAPPING
Copied doc from the class:
sample configurations:
LAMBDA_RUNTIME_IMAGE_MAPPING="customrepo/lambda-<runtime>:2022"
LAMBDA_RUNTIME_IMAGE_MAPPING='{"python3.9": "customrepo/lambda-py-thon:3.9"}'