AWS: Recognize cn-north-1 & us-gov-west-1 regions

These two regions were accidentally omitted.  This list now matches the
list we use elsewhere (e.g. when choosing an AMI).

Fixes #14420
pull/6/head
Justin Santa Barbara 2015-09-28 07:01:45 -07:00
parent 672e7c3427
commit fda6243c5e
1 changed files with 2 additions and 0 deletions

View File

@ -513,6 +513,8 @@ func isRegionValid(region string) bool {
"ap-southeast-1",
"ap-southeast-2",
"ap-northeast-1",
"cn-north-1",
"us-gov-west-1",
"sa-east-1",
}
for _, r := range regions {