Skip to content

Commit 26e42d3

Browse files
chriscerienjvrzm
andauthored
Add missing opt in regions (thailand/mexico/malaysia/taipei) (#250)
* Add missing opt in regions (thailand/mexico) * Add ap-southeast-5 * Add ap-east-2 --------- Co-authored-by: Nathan Vērzemnieks <[email protected]>
1 parent bf0fa31 commit 26e42d3

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

pkg/awsds/sessions.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,16 +106,20 @@ func isOptInRegion(region string) bool {
106106
regions := map[string]bool{
107107
"af-south-1": true,
108108
"ap-east-1": true,
109+
"ap-east-2": true,
109110
"ap-south-2": true,
110111
"ap-southeast-3": true,
111112
"ap-southeast-4": true,
113+
"ap-southeast-5": true,
114+
"ap-southeast-7": true,
112115
"ca-west-1": true,
113116
"eu-central-2": true,
114117
"eu-south-1": true,
115118
"eu-south-2": true,
116119
"il-central-1": true,
117120
"me-central-1": true,
118121
"me-south-1": true,
122+
"mx-central-1": true,
119123
// The rest of regions will return false
120124
}
121125
return regions[region]

0 commit comments

Comments
 (0)