From 5d9168a3a76040d9f8ee58d33dd8b7813046a28d Mon Sep 17 00:00:00 2001 From: Christian Schwarz Date: Wed, 18 Dec 2024 21:51:43 +0100 Subject: [PATCH] aws cli supports AWS_ENDPOINT_URL var --- compute_tools/src/bin/fast_import/aws_s3_sync.rs | 4 ---- 1 file changed, 4 deletions(-) diff --git a/compute_tools/src/bin/fast_import/aws_s3_sync.rs b/compute_tools/src/bin/fast_import/aws_s3_sync.rs index 9344a4101a5d..5fa58c8f875f 100644 --- a/compute_tools/src/bin/fast_import/aws_s3_sync.rs +++ b/compute_tools/src/bin/fast_import/aws_s3_sync.rs @@ -5,10 +5,6 @@ use super::s3_uri::S3Uri; pub(crate) async fn sync(local: &Utf8Path, remote: &S3Uri) -> anyhow::Result<()> { let mut builder = tokio::process::Command::new("aws"); - // s5cmd uses an old version of aws-sdk-go v1, hence doesn't support AWS_ENDPOINT_URL - if let Some(val) = std::env::var_os("AWS_ENDPOINT_URL") { - builder.arg("--endpoint-url").arg(val); - } builder .arg("s3") .arg("sync")