Skip to content
Snippets Groups Projects
Commit f4ff0649 authored by Tomasz Maczukin's avatar Tomasz Maczukin
Browse files

Merge branch 'add-missing-regions' into 'main'

parents f190962b 5c59bc50
No related branches found
No related tags found
No related merge requests found
...@@ -115,6 +115,7 @@ By default, the Amazon EC2 driver will use the Ubuntu 20.04 image for the given ...@@ -115,6 +115,7 @@ By default, the Amazon EC2 driver will use the Ubuntu 20.04 image for the given
| ap-northeast-2 | ami-0225bc2990c54ce9a | | ap-northeast-2 | ami-0225bc2990c54ce9a |
| ap-northeast-3 | ami-0c2223049202ca738 | | ap-northeast-3 | ami-0c2223049202ca738 |
| ap-south-1 | ami-05ba3a39a75be1ec4 | | ap-south-1 | ami-05ba3a39a75be1ec4 |
| ap-south-2 | ami-0cdec4d7db18a5cdb |
| ap-southeast-1 | ami-0750a20e9959e44ff | | ap-southeast-1 | ami-0750a20e9959e44ff |
| ap-southeast-2 | ami-0d539270873f66397 | | ap-southeast-2 | ami-0d539270873f66397 |
| ap-southeast-3 | ami-0f06496957d1fe04a | | ap-southeast-3 | ami-0f06496957d1fe04a |
...@@ -122,11 +123,14 @@ By default, the Amazon EC2 driver will use the Ubuntu 20.04 image for the given ...@@ -122,11 +123,14 @@ By default, the Amazon EC2 driver will use the Ubuntu 20.04 image for the given
| cn-north-1 | ami-0741e7b8b4fb0001c | | cn-north-1 | ami-0741e7b8b4fb0001c |
| cn-northwest-1 | ami-0883e8062ff31f727 | | cn-northwest-1 | ami-0883e8062ff31f727 |
| eu-central-1 | ami-02584c1c9d05efa69 | | eu-central-1 | ami-02584c1c9d05efa69 |
| eu-central-2 | ami-0968892c976bc03f2 |
| eu-north-1 | ami-09f0506c9ef0fb473 | | eu-north-1 | ami-09f0506c9ef0fb473 |
| eu-south-1 | ami-06ea0ad3f5adc2565 | | eu-south-1 | ami-06ea0ad3f5adc2565 |
| eu-south-2 | ami-0d3d6b90b90290cdd |
| eu-west-1 | ami-00e7df8df28dfa791 | | eu-west-1 | ami-00e7df8df28dfa791 |
| eu-west-2 | ami-00826bd51e68b1487 | | eu-west-2 | ami-00826bd51e68b1487 |
| eu-west-3 | ami-0a21d1c76ac56fee7 | | eu-west-3 | ami-0a21d1c76ac56fee7 |
| me-central-1 | ami-04e59379df0314070 |
| me-south-1 | ami-05b680b37c7917206 | | me-south-1 | ami-05b680b37c7917206 |
| sa-east-1 | ami-077518a464c82703b | | sa-east-1 | ami-077518a464c82703b |
| us-east-1 | ami-0c4f7023847b90238 | | us-east-1 | ami-0c4f7023847b90238 |
......
...@@ -243,7 +243,7 @@ func TestValidateAwsRegionValid(t *testing.T) { ...@@ -243,7 +243,7 @@ func TestValidateAwsRegionValid(t *testing.T) {
} }
func TestValidateAwsRegionInvalid(t *testing.T) { func TestValidateAwsRegionInvalid(t *testing.T) {
regions := []string{"eu-central-2"} regions := []string{"eu-invalid-2"}
for _, region := range regions { for _, region := range regions {
_, err := validateAwsRegion(region) _, err := validateAwsRegion(region)
......
...@@ -17,6 +17,7 @@ var regionDetails = map[string]*region{ ...@@ -17,6 +17,7 @@ var regionDetails = map[string]*region{
"ap-northeast-2": {AmiId: "ami-0225bc2990c54ce9a"}, "ap-northeast-2": {AmiId: "ami-0225bc2990c54ce9a"},
"ap-northeast-3": {AmiId: "ami-0c2223049202ca738"}, "ap-northeast-3": {AmiId: "ami-0c2223049202ca738"},
"ap-south-1": {AmiId: "ami-05ba3a39a75be1ec4"}, "ap-south-1": {AmiId: "ami-05ba3a39a75be1ec4"},
"ap-south-2": {AmiId: "ami-0cdec4d7db18a5cdb"},
"ap-southeast-1": {AmiId: "ami-0750a20e9959e44ff"}, "ap-southeast-1": {AmiId: "ami-0750a20e9959e44ff"},
"ap-southeast-2": {AmiId: "ami-0d539270873f66397"}, "ap-southeast-2": {AmiId: "ami-0d539270873f66397"},
"ap-southeast-3": {AmiId: "ami-0f06496957d1fe04a"}, "ap-southeast-3": {AmiId: "ami-0f06496957d1fe04a"},
...@@ -24,11 +25,14 @@ var regionDetails = map[string]*region{ ...@@ -24,11 +25,14 @@ var regionDetails = map[string]*region{
"cn-north-1": {AmiId: "ami-0741e7b8b4fb0001c"}, "cn-north-1": {AmiId: "ami-0741e7b8b4fb0001c"},
"cn-northwest-1": {AmiId: "ami-0883e8062ff31f727"}, "cn-northwest-1": {AmiId: "ami-0883e8062ff31f727"},
"eu-central-1": {AmiId: "ami-02584c1c9d05efa69"}, "eu-central-1": {AmiId: "ami-02584c1c9d05efa69"},
"eu-central-2": {AmiId: "ami-0968892c976bc03f2"},
"eu-north-1": {AmiId: "ami-09f0506c9ef0fb473"}, "eu-north-1": {AmiId: "ami-09f0506c9ef0fb473"},
"eu-south-1": {AmiId: "ami-06ea0ad3f5adc2565"}, "eu-south-1": {AmiId: "ami-06ea0ad3f5adc2565"},
"eu-south-2": {AmiId: "ami-0d3d6b90b90290cdd"},
"eu-west-1": {AmiId: "ami-00e7df8df28dfa791"}, "eu-west-1": {AmiId: "ami-00e7df8df28dfa791"},
"eu-west-2": {AmiId: "ami-00826bd51e68b1487"}, "eu-west-2": {AmiId: "ami-00826bd51e68b1487"},
"eu-west-3": {AmiId: "ami-0a21d1c76ac56fee7"}, "eu-west-3": {AmiId: "ami-0a21d1c76ac56fee7"},
"me-central-1": {AmiId: "ami-04e59379df0314070"},
"me-south-1": {AmiId: "ami-05b680b37c7917206"}, "me-south-1": {AmiId: "ami-05b680b37c7917206"},
"sa-east-1": {AmiId: "ami-077518a464c82703b"}, "sa-east-1": {AmiId: "ami-077518a464c82703b"},
"us-east-1": {AmiId: "ami-0c4f7023847b90238"}, "us-east-1": {AmiId: "ami-0c4f7023847b90238"},
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment