ex-aws / ex_aws

A flexible, easy to use set of clients AWS APIs for Elixir
https://hex.pm/packages/ex_aws
MIT License
1.26k stars 521 forks source link

Missing S3 support for eu-central-2 #980

Closed ahsanz024 closed 10 months ago

ahsanz024 commented 10 months ago

Environment

Elixir 1.14.3 (compiled with Erlang/OTP 25)

* ExAws version `mix deps |grep ex_aws`

Current behavior

    ** (RuntimeError) s3 not supported in region eu-central-2 for partition aws
        (ex_aws 2.5.0) lib/ex_aws/config/defaults.ex:180: ExAws.Config.Defaults.fetch_or/3
        (ex_aws 2.5.0) lib/ex_aws/config/defaults.ex:163: ExAws.Config.Defaults.do_host/3
        (ex_aws 2.5.0) lib/ex_aws/config/defaults.ex:94: ExAws.Config.Defaults.get/2
        (ex_aws 2.5.0) lib/ex_aws/config.ex:96: ExAws.Config.build_base/2
        (ex_aws 2.5.0) lib/ex_aws/config.ex:69: ExAws.Config.new/2
        (ex_aws 2.5.0) lib/ex_aws.ex:73: ExAws.request/2

Include code samples, errors and stacktraces if appropriate.

Expected behavior

Well, I've verified S3 works on eu-central-2 through the AWS cli, but not working with ex_aws

ahsanz024 commented 10 months ago

Fix: https://github.com/ex-aws/ex_aws/pull/981