-
-
Save TheYkk/269e64bbf3d263fcc293e910ff126ab3 to your computer and use it in GitHub Desktop.
AWS region names with bill region names
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
type AwsRegion struct { | |
Region string | |
Location string | |
Code string | |
A1 string | |
} | |
var ( | |
regions = []AwsRegion{ | |
{"Asia Pacific", "Hong Kong", "ap-east-1", "APE1"}, | |
{"Asia Pacific", "Tokyo", "ap-northeast-1", "APN1"}, | |
{"Asia Pacific", "Seoul", "ap-northeast-2", "APN2"}, | |
{"Asia Pacific", "Osaka", "ap-northeast-3", "APN3"}, | |
{"Asia Pacific", "Singapore", "ap-southeast-1", "APS1"}, | |
{"Asia Pacific", "Sydney", "ap-southeast-2", "APS2"}, | |
{"Asia Pacific", "Mumbai", "ap-south-1", "APS3"}, | |
{"Canada", "Montreal", "ca-central-1", "CAN1"}, | |
{"Africa", "Cape Town", "af-south-1", "CPT"}, | |
{"Europe", "Stockholm", "eu-north-1", "EUN1"}, | |
{"Europe", "Frankfurt", "eu-central-1", "EUC1"}, | |
{"Europe", "Ireland", "eu-west-1", "EU"}, | |
{"Europe", "London", "eu-west-2", "EUW2"}, | |
{"Europe", "Paris", "eu-west-3", "EUW3"}, | |
{"Europe", "Milan", "eu-south-1", "EUS1"}, | |
{"Middle East", "Bahrain", "me-south-1", "MES1"}, | |
{"South America", "São Paulo", "sa-east-1", "SAE1"}, | |
{"AWS GovCloud", "US-West", "us-gov-west-1", "UGW1"}, | |
{"AWS GovCloud", "US-East", "us-gov-east-1", "UGE1"}, | |
{"US East", "N. Virginia", "us-east-1", "USE1"}, | |
{"US East", "Ohio", "us-east-2", "USE2"}, | |
{"US West", "N. California", "us-west-1", "USW1"}, | |
{"US West", "Oregon", "us-west-2", "USW2"}, | |
} | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment