diff --git a/bin/s3 b/bin/s3 index 80aa689409..e2cf3e8a40 100755 --- a/bin/s3 +++ b/bin/s3 @@ -7,4 +7,4 @@ if ! [ -x "$(command -v aws)" ]; then pip install --user awscli fi -aws --endpoint-url https://s3.mysterium.network s3 "$@" +aws --region hel1 --endpoint-url https://hel1.your-objectstorage.com s3 "$@" diff --git a/ci/storage/s3.go b/ci/storage/s3.go index 5abcff932d..e82c298262 100644 --- a/ci/storage/s3.go +++ b/ci/storage/s3.go @@ -61,18 +61,17 @@ func init() { } } -// NewClient returns *s3.Client, configured to work with https://s3.mysterium.network storage +// NewClient returns *s3.Client, configured to work with s3 storage func NewClient() (*Storage, error) { customResolver := aws.EndpointResolverFunc(func(service, region string) (aws.Endpoint, error) { return aws.Endpoint{ - URL: "https://s3.mysterium.network", + URL: "https://hel1.your-objectstorage.com", SigningRegion: region, }, nil }) cfg, err := config.LoadDefaultConfig( context.TODO(), - config.WithRegion("eu-central-1"), config.WithEndpointResolver(customResolver), )