mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-17 10:25:15 +00:00
Adding sa-east-1 region.
This commit is contained in:
parent
4ce0180eb3
commit
5734b408ed
@ -120,6 +120,8 @@ public class AwsEc2Service extends AbstractLifecycleComponent<AwsEc2Service> {
|
||||
endpoint = "ec2.ap-northeast-1.amazonaws.com";
|
||||
} else if (region.equals("eu-west") || region.equals("eu-west-1")) {
|
||||
endpoint = "ec2.eu-west-1.amazonaws.com";
|
||||
} else if (region.equals("sa-east") || region.equals("sa-east-1")) {
|
||||
endpoint = "ec2.sa-east-1.amazonaws.com";
|
||||
} else {
|
||||
throw new ElasticSearchIllegalArgumentException("No automatic endpoint could be derived from region [" + region + "]");
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user