diff --git a/lambdas/upload_ecr.sh b/lambdas/upload_ecr.sh index 575017f7780..ab8f42f3831 100755 --- a/lambdas/upload_ecr.sh +++ b/lambdas/upload_ecr.sh @@ -12,7 +12,7 @@ error() { account_id=$1 image_name=$2 -regions="us-east-2" # $(aws ec2 describe-regions --query "Regions[].{Name:RegionName}" --output text) +regions=$(aws ec2 describe-regions --query "Regions[].{Name:RegionName}" --output text) for region in $regions do