Skip to content

Commit

Permalink
correct region for client sqs
Browse files Browse the repository at this point in the history
  • Loading branch information
wojciechsromek committed Aug 16, 2024
1 parent aaebe97 commit 465b9c9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion iris-mpc/src/bin/client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,9 @@ async fn main() -> eyre::Result<()> {

let n_repeat = n_repeat.unwrap_or(0);

let region_provider = Region::new(REGION);
// THIS IS REQUIRED TO USE THE SQS FROM SECONDARY REGION, URL DOES NOT SUFFICE
let region_provider = Region::new("eu-central-1");

let shared_config = aws_config::from_env().region(region_provider).load().await;
let client = Client::new(&shared_config);

Expand Down

0 comments on commit 465b9c9

Please sign in to comment.