Skip to content

Commit

Permalink
Add 'names.AllRegionIDs'.
Browse files Browse the repository at this point in the history
  • Loading branch information
ewbankkit committed Jun 18, 2024
1 parent ab67c98 commit dc8d6de
Showing 1 changed file with 40 additions and 0 deletions.
40 changes: 40 additions & 0 deletions names/names.go
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,46 @@ const (
EUISOEWest1RegionID = "eu-isoe-west-1" // EU ISOE West.
)

var AllRegionIDs = []string{
AFSouth1RegionID,
APEast1RegionID,
APNortheast1RegionID,
APNortheast2RegionID,
APNortheast3RegionID,
APSouth1RegionID,
APSouth2RegionID,
APSoutheast1RegionID,
APSoutheast2RegionID,
APSoutheast3RegionID,
APSoutheast4RegionID,
CACentral1RegionID,
CAWest1RegionID,
EUCentral1RegionID,
EUCentral2RegionID,
EUNorth1RegionID,
EUSouth1RegionID,
EUSouth2RegionID,
EUWest1RegionID,
EUWest2RegionID,
EUWest3RegionID,
ILCentral1RegionID,
MECentral1RegionID,
MESouth1RegionID,
SAEast1RegionID,
USEast1RegionID,
USEast2RegionID,
USWest1RegionID,
USWest2RegionID,
CNNorth1RegionID,
CNNorthwest1RegionID,
USGovEast1RegionID,
USGovWest1RegionID,
USISOEast1RegionID,
USISOWest1RegionID,
USISOBEast1RegionID,
EUISOEWest1RegionID,
}

func DNSSuffixForPartition(partition string) string {
switch partition {
case "":
Expand Down

0 comments on commit dc8d6de

Please sign in to comment.