Skip to content

AWSLambda: Try to pull images from multiple repositories#5895

Merged
bblommers merged 1 commit intogetmoto:masterfrom
bblommers:feature/lambda-multiple-repos
Feb 2, 2023
Merged

AWSLambda: Try to pull images from multiple repositories#5895
bblommers merged 1 commit intogetmoto:masterfrom
bblommers:feature/lambda-multiple-repos

Conversation

@bblommers
Copy link
Copy Markdown
Collaborator

Closes #5886

When invoking an AWSLambda function, the requested image can be found in one of these repos:

  • mlupin/docker-lambda (the repo with up-to-date AWSLambda images
  • lambci/lambda (the repo with older/outdated AWSLambda images

This PR ensures that we cycle through all of them - when we find the repo that contains our image, we use that one.

For most users, this means the MOTO_DOCKER_LAMBDA_IMAGE-variable is no longer required. But we'll keep the functionality in case people want to configure a different repository instead.

@bblommers bblommers added this to the 4.1.2 milestone Feb 1, 2023
@bblommers bblommers force-pushed the feature/lambda-multiple-repos branch from 0285245 to 47f8c4b Compare February 1, 2023 23:45
@bblommers bblommers merged commit c1d85a0 into getmoto:master Feb 2, 2023
@bblommers bblommers deleted the feature/lambda-multiple-repos branch February 2, 2023 12:56
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Feb 2, 2023

This is now part of moto >= 4.1.2.dev21

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

lambci/lambda docker images are deprecated

1 participant