aws-samples / aws-modern-application-workshop

A tutorial for developers that want to learn about how to build modern applications on top of AWS. You will build a sample website that leverages infrastructure as code, containers, serverless code functions, CI/CD, and more.
Apache License 2.0
1.46k stars 832 forks source link

deprecated ECR command #246

Open jojo786 opened 3 years ago

jojo786 commented 3 years ago

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 https://github.com/aws/containers-roadmap/issues/735 has been superseded with aws ecr get-login-password | docker login --username AWS --password-stdin 123456789012.dkr.ecr.us-east-1.amazonaws.com

crockercaria commented 3 years ago

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)