We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4ce0180 commit 5734b40Copy full SHA for 5734b40
src/main/java/org/elasticsearch/cloud/aws/AwsEc2Service.java
@@ -120,6 +120,8 @@ public synchronized AmazonEC2 client() {
120
endpoint = "ec2.ap-northeast-1.amazonaws.com";
121
} else if (region.equals("eu-west") || region.equals("eu-west-1")) {
122
endpoint = "ec2.eu-west-1.amazonaws.com";
123
+ } else if (region.equals("sa-east") || region.equals("sa-east-1")) {
124
+ endpoint = "ec2.sa-east-1.amazonaws.com";
125
} else {
126
throw new ElasticSearchIllegalArgumentException("No automatic endpoint could be derived from region [" + region + "]");
127
}
0 commit comments