From d4537cc63edfee288815bbf61b2fa1449fa3a27a Mon Sep 17 00:00:00 2001 From: Shlok Amin Date: Thu, 24 Oct 2024 13:58:20 -0400 Subject: [PATCH] add region for rollback --- scripts/deploy/rollback.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/deploy/rollback.js b/scripts/deploy/rollback.js index 7012fb838d3..cf5e5174199 100644 --- a/scripts/deploy/rollback.js +++ b/scripts/deploy/rollback.js @@ -97,7 +97,8 @@ async function runRollback() { const s3Client = new S3Client({ apiVersion: '2006-03-01', - region: 'us-east-1', + region: + projectDomain === PROTOCOL_DESIGNER_DOMAIN ? 'us-east-1' : 'us-east-2', credentials: rollBackCredentials, })