aws-samples/aws-modern-application-workshop

deprecated ECR command

Opened this issue · 1 comments

https://aws.amazon.com/getting-started/hands-on/build-modern-app-fargate-lambda-dynamodb-python/module-two/ -> Module 2B: Deploy A Service With AWS Fargate - > Step 1: Create a Flask Service -> C: Push the Docker Image to Amazon ECR contains
$(aws ecr get-login --no-include-email)
which according to aws/containers-roadmap#735 has been superseded with
aws ecr get-login-password | docker login --username AWS --password-stdin 123456789012.dkr.ecr.us-east-1.amazonaws.com

This just gives me an error
Error response from daemon: Get https://xxxxxxxxxxx.dkr.ecr.s3-website-eu-west-1.amazonaws.com/v2/: net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)