Skip to content

Commit

Permalink
Merge pull request #7419 from cPu1/region-ca-west-1
Browse files Browse the repository at this point in the history
Add support for ca-west-1
  • Loading branch information
cPu1 authored Dec 19, 2023
2 parents 263e3f9 + 559094d commit 7b80bb6
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
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 @@ -119,6 +119,9 @@ const (
// RegionCACentral1 represents the Canada Central Region
RegionCACentral1 = "ca-central-1"

// RegionCAWest1 represents the Canada West region Calgary.
RegionCAWest1 = "ca-west-1"

// RegionEUWest1 represents the EU West Region Ireland
RegionEUWest1 = "eu-west-1"

Expand Down Expand Up @@ -328,6 +331,9 @@ const (
// eksResourceAccountAPEast1 defines the AWS EKS account ID that provides node resources in ap-east-1 region
eksResourceAccountAPEast1 = "800184023465"

// eksResourceAccountCAWest1 defines the AWS EKS account ID that provides node resources in ca-west-1 region
eksResourceAccountCAWest1 = "761377655185"

// eksResourceAccountMECentral1 defines the AWS EKS account ID that provides node resources in me-central-1 region
eksResourceAccountMECentral1 = "759879836304"

Expand Down Expand Up @@ -495,6 +501,7 @@ func SupportedRegions() []string {
RegionUSEast1,
RegionUSEast2,
RegionCACentral1,
RegionCAWest1,
RegionEUWest1,
RegionEUWest2,
RegionEUWest3,
Expand Down Expand Up @@ -623,6 +630,8 @@ func EKSResourceAccountID(region string) string {
switch region {
case RegionAPEast1:
return eksResourceAccountAPEast1
case RegionCAWest1:
return eksResourceAccountCAWest1
case RegionMECentral1:
return eksResourceAccountMECentral1
case RegionMESouth1:
Expand Down
2 changes: 1 addition & 1 deletion userdocs/src/getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

`eksctl` now supports new ISO regions `us-iso-east-1` and `us-isob-east-1`.

`eksctl` now supports new regions - Zurich (`eu-central-2`), Spain (`eu-south-2`), Hyderabad (`ap-south-2`), Melbourne (`ap-southeast-4`) and Tel Aviv (`il-central-1`).
`eksctl` now supports new regions - Calgary (`ca-west-1`), Zurich (`eu-central-2`), Spain (`eu-south-2`), Hyderabad (`ap-south-2`), Melbourne (`ap-southeast-4`) and Tel Aviv (`il-central-1`).

`eksctl` is a simple CLI tool for creating and managing clusters on EKS - Amazon's managed Kubernetes service for EC2.
It is written in Go, uses CloudFormation, was created by [Weaveworks](https://www.weave.works/) and it welcomes
Expand Down

0 comments on commit 7b80bb6

Please sign in to comment.