Skip to content

Commit 025c3ee

Browse files
authored
Add eksctl support for new AWS region ap-east-2 (#8406)
1 parent e6c4c74 commit 025c3ee

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

pkg/apis/eksctl.io/v1alpha5/types.go

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,9 @@ const (
138138
// RegionAPEast1 represents the Asia Pacific Region Hong Kong
139139
RegionAPEast1 = "ap-east-1"
140140

141+
// RegionAPEast2 represents the Asia Pacific Region Taipei
142+
RegionAPEast2 = "ap-east-2"
143+
141144
// RegionMECentral1 represents the Middle East Region Dubai
142145
RegionMECentral1 = "me-central-1"
143146

@@ -313,6 +316,9 @@ const (
313316
// eksResourceAccountAPEast1 defines the AWS EKS account ID that provides node resources in ap-east-1 region
314317
eksResourceAccountAPEast1 = "800184023465"
315318

319+
// eksResourceAccountAPEast2 defines the AWS EKS account ID that provides node resources in ap-east-2 region
320+
eksResourceAccountAPEast2 = "533267051163"
321+
316322
// eksResourceAccountCAWest1 defines the AWS EKS account ID that provides node resources in ca-west-1 region
317323
eksResourceAccountCAWest1 = "761377655185"
318324

@@ -516,6 +522,7 @@ func SupportedRegions() []string {
516522
RegionAPSouth1,
517523
RegionAPSouth2,
518524
RegionAPEast1,
525+
RegionAPEast2,
519526
RegionMECentral1,
520527
RegionMESouth1,
521528
RegionSAEast1,
@@ -583,6 +590,8 @@ func EKSResourceAccountID(region string) string {
583590
switch region {
584591
case RegionAPEast1:
585592
return eksResourceAccountAPEast1
593+
case RegionAPEast2:
594+
return eksResourceAccountAPEast2
586595
case RegionCAWest1:
587596
return eksResourceAccountCAWest1
588597
case RegionMECentral1:

0 commit comments

Comments
 (0)