Skip to content

Commit

Permalink
Merge pull request #345 from martina-if/add-eu-north-1-region
Browse files Browse the repository at this point in the history
Add eu-north-1 region (Stockholm)
  • Loading branch information
errordeveloper authored Dec 17, 2018
2 parents d891b06 + e9e0fd3 commit 41cad27
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 24 deletions.
54 changes: 30 additions & 24 deletions pkg/ami/static_resolver_ami.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,45 +7,51 @@ var StaticImages = map[string]map[string]map[int]map[string]string{
"1.10": {
"AmazonLinux2": {
ImageClassGPU: {
"eu-west-1": "ami-047637529a86c7237",
"us-east-1": "ami-03c499c67bc65c089",
"us-east-2": "ami-081210a2fd7f3c487",
"us-west-2": "ami-08754f7ac73185331",
"eu-north-1": "ami-24b43a5a",
"eu-west-1": "ami-047637529a86c7237",
"us-east-1": "ami-03c499c67bc65c089",
"us-east-2": "ami-081210a2fd7f3c487",
"us-west-2": "ami-08754f7ac73185331",
},
ImageClassGeneral: {
"eu-west-1": "ami-03612357ac9da2c7d",
"us-east-1": "ami-027792c3cc6de7b5b",
"us-east-2": "ami-036130f4127a367f7",
"us-west-2": "ami-07af9511082779ae7",
"eu-north-1": "ami-04b0f84e5a05e0b30",
"eu-west-1": "ami-03612357ac9da2c7d",
"us-east-1": "ami-027792c3cc6de7b5b",
"us-east-2": "ami-036130f4127a367f7",
"us-west-2": "ami-07af9511082779ae7",
},
},
"Ubuntu1804": {ImageClassGeneral: {
"eu-west-1": "ami-07036622490f7e97b",
"us-east-1": "ami-06fd8200ac0eb656d",
"us-east-2": "ami-0866798422f5d546b",
"us-west-2": "ami-6322011b",
"eu-north-1": "",
"eu-west-1": "ami-07036622490f7e97b",
"us-east-1": "ami-06fd8200ac0eb656d",
"us-east-2": "ami-0866798422f5d546b",
"us-west-2": "ami-6322011b",
}},
},
"1.11": {
"AmazonLinux2": {
ImageClassGPU: {
"eu-west-1": "ami-050db3f5f9dbd4439",
"us-east-1": "ami-08a0bb74d1c9a5e2f",
"us-east-2": "ami-04a758678ae5ebad5",
"us-west-2": "ami-014f4e495a19d3e4f",
"eu-north-1": "ami-69b03e17",
"eu-west-1": "ami-050db3f5f9dbd4439",
"us-east-1": "ami-08a0bb74d1c9a5e2f",
"us-east-2": "ami-04a758678ae5ebad5",
"us-west-2": "ami-014f4e495a19d3e4f",
},
ImageClassGeneral: {
"eu-west-1": "ami-0a9006fb385703b54",
"us-east-1": "ami-0b4eb1d8782fc3aea",
"us-east-2": "ami-053cbe66e0033ebcf",
"us-west-2": "ami-094fa4044a2a3cf52",
"eu-north-1": "ami-082e6cf1c07e60241",
"eu-west-1": "ami-0a9006fb385703b54",
"us-east-1": "ami-0b4eb1d8782fc3aea",
"us-east-2": "ami-053cbe66e0033ebcf",
"us-west-2": "ami-094fa4044a2a3cf52",
},
},
"Ubuntu1804": {ImageClassGeneral: {
"eu-west-1": "",
"us-east-1": "",
"us-east-2": "",
"us-west-2": "",
"eu-north-1": "",
"eu-west-1": "",
"us-east-1": "",
"us-east-2": "",
"us-west-2": "",
}},
},
}
4 changes: 4 additions & 0 deletions pkg/eks/api/api.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@ const (
// EKSRegionEUWest1 represents the EU West Region Ireland
EKSRegionEUWest1 = "eu-west-1"

// EKSRegionEUNorth1 represents the EU North Region Stockholm
EKSRegionEUNorth1 = "eu-north-1"

// DefaultEKSRegion defines the default region, where to deploy the EKS cluster
DefaultEKSRegion = EKSRegionUSWest2
)
Expand All @@ -37,6 +40,7 @@ func SupportedRegions() []string {
EKSRegionUSEast1,
EKSRegionUSEast2,
EKSRegionEUWest1,
EKSRegionEUNorth1,
}
}

Expand Down

0 comments on commit 41cad27

Please sign in to comment.