Two last modifications for the new region sa-east-1.
This commit is contained in:
parent
36daeba9f3
commit
485bb96ae6
|
@ -47,7 +47,7 @@ The plugin will automatically use the instance level security credentials (as of
|
|||
|
||||
### Region
|
||||
|
||||
The `cloud.aws.region` can be set to a region and will automatically use the relevant settings for both `ec2` and `s3`. The available values are: `us-east` (`us-east-1`), `us-west` (`us-west-1`), `us-west-1`, `us-west-2` `ap-southeast` (`ap-southeast-1`), `ap-southeast-1`, `ap-southeast-2`, `ap-northeast` (`ap-northeast-1`) `eu-west` (`eu-west-1`).
|
||||
The `cloud.aws.region` can be set to a region and will automatically use the relevant settings for both `ec2` and `s3`. The available values are: `us-east` (`us-east-1`), `us-west` (`us-west-1`), `us-west-1`, `us-west-2` `ap-southeast` (`ap-southeast-1`), `ap-southeast-1`, `ap-southeast-2`, `ap-northeast` (`ap-northeast-1`) `eu-west` (`eu-west-1`), `sa-east` (`sa-east-1`).
|
||||
|
||||
|
||||
## EC2 Discovery
|
||||
|
|
|
@ -80,6 +80,10 @@ public class S3Gateway extends BlobStoreGateway {
|
|||
region = "EU";
|
||||
} else if ("eu-west-1".equals(regionSetting.toLowerCase())) {
|
||||
region = "EU";
|
||||
} else if ("sa-east".equals(regionSetting.toLowerCase())) {
|
||||
region = "sa-east-1";
|
||||
} else if ("sa-east-1".equals(regionSetting.toLowerCase())) {
|
||||
region = "sa-east-1";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue