Skip to content

Commit f81966d

Browse files
author
solodovn1
committed
DS-817 add missing region settings
Signed-off-by: solodovn1 <ext-olensadr.solodovnikov@here.com>
1 parent 328136a commit f81966d

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

xyz-hub-service/src/main/java/com/here/xyz/hub/cache/S3CacheClient.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,9 @@ private void initS3Client() {
7676
.credentialsProvider(DefaultCredentialsProvider.create());
7777

7878
if (Service.configuration.LOCALSTACK_ENDPOINT != null) {
79-
builder.endpointOverride(URI.create(Service.configuration.LOCALSTACK_ENDPOINT))
79+
builder
80+
.region(Region.EU_WEST_1)
81+
.endpointOverride(URI.create(Service.configuration.LOCALSTACK_ENDPOINT))
8082
.credentialsProvider(
8183
StaticCredentialsProvider.create(
8284
AwsBasicCredentials.create("localstack", "localstack")))

0 commit comments

Comments
 (0)