Skip to content

Commit

Permalink
update regions and zones
Browse files Browse the repository at this point in the history
  • Loading branch information
arshadd-b committed Nov 18, 2024
1 parent 1c0d75a commit f8b6a3b
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions region.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,11 @@ func GetRegion(zone string) (region string, err error) {
case strings.HasPrefix(zone, "us-south"):
region = "us-south"
case strings.HasPrefix(zone, "dal"):
region = "dal"
region = "us-south"
case strings.HasPrefix(zone, "sao"):
region = "sao"
case strings.HasPrefix(zone, "us-east"):
region = "us-east"
case strings.HasPrefix(zone, "tor"):
region = "tor"
case strings.HasPrefix(zone, "eu-de-"):
region = "eu-de"
case strings.HasPrefix(zone, "lon"):
Expand All @@ -33,7 +31,7 @@ func GetRegion(zone string) (region string, err error) {
case strings.HasPrefix(zone, "mad"):
region = "mad"
case strings.HasPrefix(zone, "wdc"):
region = "wdc"
region = "us-east"
case strings.HasPrefix(zone, "tor"):
region = "tor"
default:
Expand Down Expand Up @@ -100,11 +98,11 @@ var Regions = map[string]Region{
},
"mon": {
Description: "Montreal, Canada",
VPCRegion: "",
VPCRegion: "ca-tor",
COSRegion: "ca-tor",
Zones: []string{"mon01"},
SysTypes: []string{"s922", "e980"},
VPCZones: []string{},
VPCZones: []string{"ca-tor-1", "ca-tor-2", "ca-tor-3"},
},
"osa": {
Description: "Osaka, Japan",
Expand Down

0 comments on commit f8b6a3b

Please sign in to comment.