Skip to content

Commit

Permalink
Merge pull request eksctl-io#8117 from gustavodiaz7722/feature/mx-cen…
Browse files Browse the repository at this point in the history
…tral-1

Support for Mexico region (mx-central-1)
  • Loading branch information
gustavodiaz7722 authored Jan 8, 2025
2 parents f76d37c + 58a780c commit db85000
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions pkg/apis/eksctl.io/v1alpha5/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -223,6 +223,9 @@ const (
// RegionUSISOWest1 represents the region US ISOB West.
RegionUSISOWest1 = "us-iso-west-1"

// RegionMXCentral1 represents the region of central Mexico
RegionMXCentral1 = "mx-central-1"

// DefaultRegion defines the default region, where to deploy the EKS cluster
DefaultRegion = RegionUSWest2
)
Expand Down Expand Up @@ -407,6 +410,9 @@ const (

// eksResourceAccountUSISOWest1 defines the AWS EKS account ID that provides node resources in us-iso-west-1
eksResourceAccountUSISOWest1 = "608367168043"

// eksResourceAccountMXCentral1 defines the AWS EKS account ID that provides node resources in mx-central-1
eksResourceAccountMXCentral1 = "730335286997"
)

// Values for `VolumeType`
Expand Down Expand Up @@ -547,6 +553,7 @@ func SupportedRegions() []string {
RegionUSISOEast1,
RegionUSISOBEast1,
RegionUSISOWest1,
RegionMXCentral1,
}
}

Expand Down Expand Up @@ -691,6 +698,8 @@ func EKSResourceAccountID(region string) string {
return eksResourceAccountUSISOBEast1
case RegionUSISOWest1:
return eksResourceAccountUSISOWest1
case RegionMXCentral1:
return eksResourceAccountMXCentral1
default:
return eksResourceAccountStandard
}
Expand Down

0 comments on commit db85000

Please sign in to comment.