diff --git a/pom.xml b/pom.xml index abb6ccf..426d43d 100644 --- a/pom.xml +++ b/pom.xml @@ -20,7 +20,7 @@ com.ing.ranger ranger-s3-plugin - v0.1.0 + v0.1.1 UTF-8 diff --git a/src/main/java/com/ing/ranger/s3/client/S3Client.java b/src/main/java/com/ing/ranger/s3/client/S3Client.java index 0e64e31..516157e 100644 --- a/src/main/java/com/ing/ranger/s3/client/S3Client.java +++ b/src/main/java/com/ing/ranger/s3/client/S3Client.java @@ -57,7 +57,7 @@ public S3Client(Map configs) throws Exception { this.endpoint = configs.get("endpoint"); this.accessKey = configs.get("accesskey"); this.secretKey = PasswordUtils.decryptPassword(configs.get("password")); - this.awsRegion = configs.getOrDefault("region", "us-east-1"); + this.awsRegion = configs.getOrDefault("region", "eu-west-1"); if (this.endpoint == null || this.endpoint.isEmpty() || !this.endpoint.startsWith("http")) { logError("Incorrect value found for configuration `endpoint`. Please provide url in format http://host:port");