Skip to content

How can i update a container image for a lambda function #7182

Answered by aBurmeseDev
ChrisDAT20 asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @ChrisDAT20, thanks for reaching out.

Have you tried using update-function-code AWS CLI command to update Lambda function code with container image type? You can use --image-uri (string) option as mentioned in the docs below.

URI of a container image in the Amazon ECR registry. Do not use for a function defined with a .zip file archive.

Here's link to the documentation: https://docs.aws.amazon.com/cli/latest/reference/lambda/update-function-code.html

Hope it helps but please let me know if you have any other questions!

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by tim-finnigan
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
lambda docker Issue involves the AWS CLI Docker container image
2 participants