From db1c7f9ca8ca4eb9331b5c9449a6713e5b8df3b0 Mon Sep 17 00:00:00 2001 From: Outvi V <19144373+outloudvi@users.noreply.github.com> Date: Thu, 2 Jan 2020 11:10:48 +0000 Subject: [PATCH] s3: Add new region Asia Patific (Hong Kong) --- backend/s3/s3.go | 6 ++++++ docs/content/s3.md | 14 ++++++++++++-- 2 files changed, 18 insertions(+), 2 deletions(-) diff --git a/backend/s3/s3.go b/backend/s3/s3.go index d11c0ea13..04fdefe3a 100644 --- a/backend/s3/s3.go +++ b/backend/s3/s3.go @@ -160,6 +160,9 @@ func init() { }, { Value: "ap-south-1", Help: "Asia Pacific (Mumbai)\nNeeds location constraint ap-south-1.", + }, { + Value: "ap-east-1", + Help: "Asia Patific (Hong Kong) Region\nNeeds location constraint ap-east-1.", }, { Value: "sa-east-1", Help: "South America (Sao Paulo) Region\nNeeds location constraint sa-east-1.", @@ -428,6 +431,9 @@ func init() { }, { Value: "ap-south-1", Help: "Asia Pacific (Mumbai)", + }, { + Value: "ap-east-1", + Help: "Asia Pacific (Hong Kong)", }, { Value: "sa-east-1", Help: "South America (Sao Paulo) Region.", diff --git a/docs/content/s3.md b/docs/content/s3.md index 7e5311d30..d000c291c 100644 --- a/docs/content/s3.md +++ b/docs/content/s3.md @@ -136,8 +136,11 @@ Choose a number from below, or type in your own value / Asia Pacific (Mumbai) 13 | Needs location constraint ap-south-1. \ "ap-south-1" + / Asia Patific (Hong Kong) Region +14 | Needs location constraint ap-east-1. + \ "ap-east-1" / South America (Sao Paulo) Region -14 | Needs location constraint sa-east-1. +15 | Needs location constraint sa-east-1. \ "sa-east-1" region> 1 Endpoint for S3 API. @@ -171,7 +174,9 @@ Choose a number from below, or type in your own value \ "ap-northeast-2" 13 / Asia Pacific (Mumbai) \ "ap-south-1" -14 / South America (Sao Paulo) Region. +14 / Asia Pacific (Hong Kong) + \ "ap-east-1" +15 / South America (Sao Paulo) Region. \ "sa-east-1" location_constraint> 1 Canned ACL used when creating buckets and/or storing objects in S3. @@ -556,6 +561,9 @@ Region to connect to. - "ap-south-1" - Asia Pacific (Mumbai) - Needs location constraint ap-south-1. + - "ap-east-1" + - Asia Pacific (Hong Kong) Region + - Needs location constraint ap-east-1. - "sa-east-1" - South America (Sao Paulo) Region - Needs location constraint sa-east-1. @@ -775,6 +783,8 @@ Used when creating buckets only. - Asia Pacific (Seoul) - "ap-south-1" - Asia Pacific (Mumbai) + - "ap-east-1" + - Asia Pacific (Hong Kong) - "sa-east-1" - South America (Sao Paulo) Region.