From e8085c9898047ebedf1d2e7aa12c9ed35e84f6a1 Mon Sep 17 00:00:00 2001 From: shirady <57721533+shirady@users.noreply.github.com> Date: Tue, 11 Feb 2025 09:43:26 +0200 Subject: [PATCH] update mapValidAWSRegions with new regions Signed-off-by: shirady <57721533+shirady@users.noreply.github.com> --- pkg/util/util.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkg/util/util.go b/pkg/util/util.go index 5a568e1cba..46c7d7de4e 100644 --- a/pkg/util/util.go +++ b/pkg/util/util.go @@ -1159,6 +1159,8 @@ func GetAWSRegion() (string, error) { "ap-southeast-3": "ap-southeast-3", "ap-southeast-4": "ap-southeast-4", "ap-southeast-5": "ap-southeast-5", + // Currently in AWS table there is no region ap-southeast-6 + "ap-southeast-7": "ap-southeast-7", "ap-south-1": "ap-south-1", "ap-south-2": "ap-south-2", "me-south-1": "me-south-1", @@ -1168,6 +1170,7 @@ func GetAWSRegion() (string, error) { "us-gov-east-1": "us-gov-east-1", "af-south-1": "af-south-1", "il-central-1": "il-central-1", + "mx-central-1": "mx-central-1", } var awsRegion string infrastructure := &configv1.Infrastructure{