sparse-intern-71089
10/20/2021, 12:51 PMgreat-sunset-355
10/20/2021, 2:48 PMlatest
tag is not a good idea, so I'd listen to the service and rather tag the image with commit SHA (or version or anything) on rebuild.
And simple dev purposes you can always push 2 tags. 1 with SHA and 2nd latestpowerful-furniture-83753
10/20/2021, 2:54 PMgreat-sunset-355
10/21/2021, 6:41 AMlatest
and lambda
is concurrency. Imagine your lambda is executed 100k times in parallel with a small-time drift.
And somewhere in between 50k - 70k you update the image. You'd end up with half of your code executed using a new version and half the old version. (pure nightmare)
Alternative would be that lambda has to pull the image every time, but that's not possible because of Cold/Hot state lambda has.
So any use cases considering not updating the lambda should be seriously reconsidered or use a different service.