From faba5c7192c2ff37b5912d7d37178718cabc3daa Mon Sep 17 00:00:00 2001 From: nbailey Date: Fri, 26 Jan 2018 12:41:35 +0000 Subject: [PATCH] Support AWS cn-northwest-1 Ningxia (fixes #3053) --- aws/config.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/aws/config.go b/aws/config.go index c9a1081e2e7..8c8d2a7bd35 100644 --- a/aws/config.go +++ b/aws/config.go @@ -224,6 +224,9 @@ func (c *AWSClient) IsChinaCloud() bool { if c.region == "cn-north-1" { return true } + if c.region == "cn-northwest-1" { + return true + } return false } @@ -503,6 +506,7 @@ func (c *Config) ValidateRegion() error { "ap-southeast-2", "ca-central-1", "cn-north-1", + "cn-northwest-1", "eu-central-1", "eu-west-1", "eu-west-2",