You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
thread 'main' panicked at src/main.rs:23:6:
called `Result::unwrap()` on an `Err` value: HttpFailWithBody(400, "<?xml version='1.0' encoding='utf-8'?>\n<Error><Code>InvalidLocationConstraint</Code><Message>The specified location-constraint is not valid</Message><RequestId>dce21a3a-661c-43b6-a11f-1ce14a185ce0</RequestId><LocationConstraint>us-east-1</LocationConstraint></Error>")
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
error: process didn't exit successfully: `target\debug\testing.exe` (exit code: 101)
I've opened a PR to fix this #412 which removes it always setting the region in the config.
To Reproduce
Steps to reproduce the behavior (ideally with a minimal code sample):
Describe the bug
I'm running LocalStack for testing. To test this I am opening a connection and creating an S3 bucket.
I have some Python code which does this correctly:
while my Rust code breaks:
with:
I've opened a PR to fix this #412 which removes it always setting the region in the config.
To Reproduce
Steps to reproduce the behavior (ideally with a minimal code sample):
localstack start
cargo test
Expected behavior
Bucket should be created (this can be verified with
awslocal s3 ls
).Environment
rustc 1.82.0 (f6e511eec 2024-10-15)
0.35.1
The text was updated successfully, but these errors were encountered: