From 2af606472b10153249369a5cb44ea72b6eee08e9 Mon Sep 17 00:00:00 2001 From: Hai Pham Date: Fri, 16 Aug 2024 14:32:05 +0200 Subject: [PATCH] chore: rename CUBESTORE_AWS_ROLE to CUBESTORE_AWS_IAM_ROLE --- rust/cubestore/cubestore/src/remotefs/s3.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rust/cubestore/cubestore/src/remotefs/s3.rs b/rust/cubestore/cubestore/src/remotefs/s3.rs index 518816982d5c0..7e42fd2b941cd 100644 --- a/rust/cubestore/cubestore/src/remotefs/s3.rs +++ b/rust/cubestore/cubestore/src/remotefs/s3.rs @@ -59,7 +59,7 @@ impl S3RemoteFs { )) })?; - let role_name = env::var("CUBESTORE_AWS_ROLE").ok(); + let role_name = env::var("CUBESTORE_AWS_IAM_ROLE").ok(); let (access_key, secret_key) = match role_name { Some(role_name) => { assume_role(&role_name, ®ion.to_string()).await