From 935039d6848436abc1cc01a16eed24179939ac9a Mon Sep 17 00:00:00 2001 From: William Richard Date: Fri, 25 Jan 2019 14:47:23 -0500 Subject: [PATCH] ECR now uses api.ecr as its endpoint. This changed in botocore 1.12.85. See https://github.com/boto/botocore/commit/b5fa8a51393e24fbc7337a357a2d51a0f750c627 This fixes https://github.com/spulec/moto/issues/2035 --- moto/ecr/urls.py | 1 + 1 file changed, 1 insertion(+) diff --git a/moto/ecr/urls.py b/moto/ecr/urls.py index 86b8a8dbc..5b12cd843 100644 --- a/moto/ecr/urls.py +++ b/moto/ecr/urls.py @@ -3,6 +3,7 @@ from .responses import ECRResponse url_bases = [ "https?://ecr.(.+).amazonaws.com", + "https?://api.ecr.(.+).amazonaws.com", ] url_paths = {