From df08bb40682f1f5360ba1ca0484542263133da12 Mon Sep 17 00:00:00 2001 From: Oluwatobi Bamidele Date: Wed, 6 Nov 2024 00:01:10 +0100 Subject: [PATCH] chore: add AWS_REGION back to jarvis env --- src/images/jarvis.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/images/jarvis.rs b/src/images/jarvis.rs index 958923d0..1de9c797 100644 --- a/src/images/jarvis.rs +++ b/src/images/jarvis.rs @@ -180,6 +180,9 @@ fn jarvis( max_payment_hierarcy_depth )); } + if let Ok(aws_region) = getenv("AWS_REGION") { + env.push(format!("AWS_S3_REGION_NAME={}", aws_region)); + } if let Ok(dynamo_db_aws_access_key_id) = getenv("DYNAMO_DB_AWS_ACCESS_KEY_ID") { env.push(format!( "DYNAMO_DB_AWS_ACCESS_KEY_ID={}",