Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add new regions and corresponding AMIs #209

Merged
merged 2 commits into from
Jul 26, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion drivers/amazonec2/amazonec2_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ func TestValidateAwsRegionValid(t *testing.T) {
}

func TestValidateAwsRegionInvalid(t *testing.T) {
regions := []string{"eu-central-2"}
regions := []string{"eu-central-3"}

for _, region := range regions {
_, err := validateAwsRegion(region)
Expand Down
5 changes: 5 additions & 0 deletions drivers/amazonec2/region.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,18 +17,23 @@ var regionDetails map[string]*region = map[string]*region{
"ap-northeast-3": {"ami-0fa06c85437a220f5"},
"ap-southeast-1": {"ami-048b4b1ddefe6759f"},
"ap-southeast-2": {"ami-052a251c7ca533c26"},
"ap-southeast-4": {"ami-01b54c470a1da561d"},
"ap-south-1": {"ami-01957c76cce45de38"},
"ap-south-2": {"ami-0eaa3ccae04723740"},
"ap-east-1": {"ami-0a7893426ebe74a8c"},
"ca-central-1": {"ami-095509bf36d02a8e0"},
"cn-north-1": {"ami-0592ccadb56e65f8d"},
"cn-northwest-1": {"ami-007d0f254ea0f8588"},
"eu-central-1": {"ami-0d3905203a039e3b0"},
"eu-central-2": {"ami-0e5cf0e302a738bde"},
"eu-north-1": {"ami-0803bdfa576dd60c2"},
"eu-south-1": {"ami-08a4feb1e48d2f9d8"},
"eu-south-2": {"ami-048cc74e15ef972b1"},
"eu-west-1": {"ami-0b7fd7bc9c6fb1c78"},
"eu-west-2": {"ami-02ead6ecbd926d792"},
"eu-west-3": {"ami-0d7b738ade930e24a"},
"me-south-1": {"ami-0e53ffff39fa7b5c1"},
"me-central-1": {"ami-0bcb1a83b40b4f666"},
"sa-east-1": {"ami-03f2389c2526e67bd"},
"us-east-1": {"ami-04cc2b0ad9e30a9c8"},
"us-east-2": {"ami-02fc6052104add5ae"},
Expand Down