hello, we're using similar solution, but using cloudfront with cloudfront function to send a 307 redirect and pull images from ECR.
all worked until recently, when the solution stopped working all of sudden - docker can login, but no longer pull images returning, "authorization failed"
do you face similar issues?
thank you
login:
> aws ecr get-login-password | docker login --username AWS --password-stdin our.custom.registry.tld
Login Succeeded
>
pull:
> docker pull our.custom.registry.tld/image
Using default tag: latest
Error response from daemon: failed to resolve reference "our.custom.registry.tld/image:latest": pull access denied, repository does not exist or may require authorization: authorization failed: no basic auth credentials
>