Update src/main/java/org/elasticsearch/cloud/aws/AwsEc2Service.java
This commit is contained in:
parent
f1297eec81
commit
22722840d4
|
@ -112,10 +112,10 @@ public class AwsEc2Service extends AbstractLifecycleComponent<AwsEc2Service> {
|
|||
endpoint = "ec2.us-west-1.amazonaws.com";
|
||||
} else if (region.equals("us-west-2")) {
|
||||
endpoint = "ec2.us-west-2.amazonaws.com";
|
||||
} else if (region.equals("ap-southeast")) {
|
||||
endpoint = "ec2.ap-southeast-1.amazonaws.com";
|
||||
} else if (region.equals("ap-southeast-1")) {
|
||||
} else if (region.equals("ap-southeast") || region.equals("ap-southeast-1")) {
|
||||
endpoint = "ec2.ap-southeast-1.amazonaws.com";
|
||||
} else if (region.equals("ap-southeast-2")) {
|
||||
endpoint = "ec2.ap-southeast-2.amazonaws.com";
|
||||
} else if (region.equals("ap-northeast") || region.equals("ap-northeast-1")) {
|
||||
endpoint = "ec2.ap-northeast-1.amazonaws.com";
|
||||
} else if (region.equals("eu-west") || region.equals("eu-west-1")) {
|
||||
|
|
Loading…
Reference in New Issue