Skip to content
This repository has been archived by the owner on Sep 26, 2021. It is now read-only.

Added eu-south-1 region (Milano) in amazonec2 driver #4840

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
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 @@ -179,7 +179,7 @@ func TestConfigureSecurityGroupPermissionsWithSwarm(t *testing.T) {
}

func TestValidateAwsRegionValid(t *testing.T) {
regions := []string{"eu-west-1", "eu-central-1"}
regions := []string{"eu-west-1", "eu-central-1", "eu-south-1"}

for _, region := range regions {
validatedRegion, err := validateAwsRegion(region)
Expand Down
1 change: 1 addition & 0 deletions drivers/amazonec2/region.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ var regionDetails map[string]*region = map[string]*region{
"cn-northwest-1": {"ami-fd0e1a9f"}, // Note: this is 20180126
"eu-north-1": {"ami-017ff17f"},
"eu-central-1": {"ami-bc4925d3"},
"eu-south-1": {"ami-bc4925d3"},
"eu-west-1": {"ami-0b541372"},
"eu-west-2": {"ami-ff46a298"},
"eu-west-3": {"ami-9465d3e9"},
Expand Down