awslabs / ecs-nginx-reverse-proxy

Reference architecture for deploying Nginx on ECS, both as a basic static resource server, and as a reverse proxy in front of a dynamic application server.
https://containersonaws.com/pattern/nginx-reverse-proxy-sidecar-ecs-fargate-task
Apache License 2.0
329 stars 138 forks source link

'get-login' is no longer supported and it's not clear how to authenticate #5

Open javadba opened 3 years ago

javadba commented 3 years ago

In the instructions Step #3 not only does not work as given

$ aws ecr get-login

The "replacement" get-login-password does not contain the "URI" as described in Step#4

Tag your images and push them to the repositories. (You must put it your own repository URI from the repositoryUri value from step #3)

So I'm uncertain how to proceed.

ar-ds commented 1 year ago

Yes! How can we still utilize IAM roles to authenticate to a reserved proxy ECR utilizing the provided command?

aws ecr get-login-password --region region | docker login --username AWS --password-stdin registry.myregistry.com