mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-23 10:32:03 +00:00
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
This commit is contained in:
parent
672e7c3427
commit
fda6243c5e
@ -513,6 +513,8 @@ func isRegionValid(region string) bool {
|
|||||||
"ap-southeast-1",
|
"ap-southeast-1",
|
||||||
"ap-southeast-2",
|
"ap-southeast-2",
|
||||||
"ap-northeast-1",
|
"ap-northeast-1",
|
||||||
|
"cn-north-1",
|
||||||
|
"us-gov-west-1",
|
||||||
"sa-east-1",
|
"sa-east-1",
|
||||||
}
|
}
|
||||||
for _, r := range regions {
|
for _, r := range regions {
|
||||||
|
Loading…
Reference in New Issue
Block a user