My intension is to deploy a new container version to my AWS lambda. Lambda now offers docker run time and I have successfully updated the lambda docker container from the web console but not able to do so from the cli. There is an update-function
https://docs.aws.amazon.com/cli/latest/reference/lambda/update-function-configuration.html
But it does not show how I can update the container image version. Is it possible to do update the container version via the aws cli?
You need to use update-function-code, not update-function-configuration.
Use the --image-uri option, and note that Lambda references image versions via their SHA, not the tag.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With