Skip to content

Commit

Permalink
chore: rename CUBESTORE_AWS_ROLE to CUBESTORE_AWS_IAM_ROLE
Browse files Browse the repository at this point in the history
  • Loading branch information
haipham23 authored Aug 16, 2024
1 parent 5520475 commit 2af6064
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rust/cubestore/cubestore/src/remotefs/s3.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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, &region.to_string()).await
Expand Down

0 comments on commit 2af6064

Please sign in to comment.