From ed4886cf0a462c25a8e8abb58622c82ecf03b310 Mon Sep 17 00:00:00 2001 From: cpu1 Date: Wed, 13 Dec 2023 15:00:26 +0530 Subject: [PATCH] Add support for ca-west-1 --- pkg/apis/eksctl.io/v1alpha5/types.go | 9 +++++++++ userdocs/src/getting-started.md | 2 +- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/pkg/apis/eksctl.io/v1alpha5/types.go b/pkg/apis/eksctl.io/v1alpha5/types.go index 85b63c032fb..8e4aa428c75 100644 --- a/pkg/apis/eksctl.io/v1alpha5/types.go +++ b/pkg/apis/eksctl.io/v1alpha5/types.go @@ -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" @@ -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" @@ -495,6 +501,7 @@ func SupportedRegions() []string { RegionUSEast1, RegionUSEast2, RegionCACentral1, + RegionCAWest1, RegionEUWest1, RegionEUWest2, RegionEUWest3, @@ -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: diff --git a/userdocs/src/getting-started.md b/userdocs/src/getting-started.md index b6eb7659391..2ae01b50af4 100644 --- a/userdocs/src/getting-started.md +++ b/userdocs/src/getting-started.md @@ -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