From 156dfc7e87288d78d6ce3c59b4452c65bd11786b Mon Sep 17 00:00:00 2001 From: Dima Ryazanov Date: Thu, 1 Feb 2024 23:39:12 -0800 Subject: [PATCH] disable eu-south-2 --- lambdas/upload_ecr.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/lambdas/upload_ecr.sh b/lambdas/upload_ecr.sh index ab8f42f3831..c0859e61c98 100755 --- a/lambdas/upload_ecr.sh +++ b/lambdas/upload_ecr.sh @@ -16,6 +16,11 @@ regions=$(aws ec2 describe-regions --query "Regions[].{Name:RegionName}" --outpu for region in $regions do + if [[ region == "eu-south-2" ]] + then + continue + fi + docker_url=$account_id.dkr.ecr.$region.amazonaws.com echo "Logging in to $docker_url..." aws ecr get-login-password --region $region | docker login -u AWS --password-stdin "$docker_url"