containers-roadmap icon indicating copy to clipboard operation
containers-roadmap copied to clipboard

[ECR] [request]: Do not update lastRecordedPullTime on batch-get-image API call

Open fstr opened this issue 1 year ago • 1 comments

Tell us about your request Do not update lastRecordedPullTime on batch-get-image API call.

Which service(s) is this request for? ECR

Tell us about the problem you're trying to solve. What are you trying to do, and why is it hard? ECR introduced the concept of image indexes. When I want to find all artifacts that belong to an image index, I have to call batch-get-image to get the imageManifest property, which contains information about all related artifacts in JSON format.

When I call the batch-get-image endpoint, the lastRecordedPullTime of my image is updated.

Are you currently working around this issue? I removed support for lastRecordedPullTime from my tooling since it can't be trusted (since I bump it myself via my tool).

fstr avatar Jul 16 '24 09:07 fstr