From 68b438ab1ad0ca74678c3d36199b08e2bcd8c8b3 Mon Sep 17 00:00:00 2001 From: Bavisetti Narayan <72156168+NarayanBavisetti@users.noreply.github.com> Date: Tue, 22 Aug 2023 13:18:15 +0530 Subject: [PATCH] fix: aws region changed for exporter (#1933) Co-authored-by: Bavisetti Narayan --- apiserver/plane/bgtasks/export_task.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apiserver/plane/bgtasks/export_task.py b/apiserver/plane/bgtasks/export_task.py index d8cb9f0cd..22a9afe51 100644 --- a/apiserver/plane/bgtasks/export_task.py +++ b/apiserver/plane/bgtasks/export_task.py @@ -68,7 +68,7 @@ def create_zip_file(files): def upload_to_s3(zip_file, workspace_id, token_id, slug): s3 = boto3.client( "s3", - region_name="ap-south-1", + region_name=settings.AWS_REGION, aws_access_key_id=settings.AWS_ACCESS_KEY_ID, aws_secret_access_key=settings.AWS_SECRET_ACCESS_KEY, config=Config(signature_version="s3v4"),