Skip to content

Commit

Permalink
Update AMIs
Browse files Browse the repository at this point in the history
  • Loading branch information
errordeveloper committed Feb 25, 2019
1 parent d511117 commit 55ba9e8
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 23 deletions.
40 changes: 20 additions & 20 deletions pkg/ami/static_resolver_ami.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,19 +7,19 @@ var StaticImages = map[string]map[string]map[int]map[string]string{
"1.10": {
"AmazonLinux2": {
ImageClassGPU: {
"ap-northeast-1": "ami-03c93f6816f8652c7",
"ap-northeast-2": "ami-0089fa930c7f3e830",
"ap-northeast-1": "ami-061f5b653b1a98557",
"ap-northeast-2": "ami-0a8159b97b9a7e078",
"ap-south-1": "",
"ap-southeast-1": "ami-014ed22ec2f34c4bf",
"ap-southeast-2": "ami-096064ec61eaa29df",
"eu-central-1": "ami-0e24c510ebe972f26",
"eu-north-1": "ami-f9810887",
"eu-west-1": "ami-098171628d39d4d6c",
"ap-southeast-1": "ami-02aa3e8ad27163456",
"ap-southeast-2": "ami-0679fa5d74309eb79",
"eu-central-1": "ami-0c1746c6d5d61b4d3",
"eu-north-1": "ami-63aa231d",
"eu-west-1": "ami-08d23ed2de9320c90",
"eu-west-2": "",
"eu-west-3": "",
"us-east-1": "ami-04c29548028d8a4a0",
"us-east-2": "ami-0a6f0cc2cbef07ba9",
"us-west-2": "ami-0796d47bbb4361153",
"us-east-1": "ami-00cce60e4c241de4c",
"us-east-2": "ami-0bbfeb020c5ec10ee",
"us-west-2": "ami-02e0b615d7749e016",
},
ImageClassGeneral: {
"ap-northeast-1": "ami-0e831f9f650f2f8ab",
Expand Down Expand Up @@ -56,19 +56,19 @@ var StaticImages = map[string]map[string]map[int]map[string]string{
"1.11": {
"AmazonLinux2": {
ImageClassGPU: {
"ap-northeast-1": "ami-02bacb819e2777536",
"ap-northeast-2": "ami-0e35cc17cf9675a1f",
"ap-northeast-1": "ami-0880d3b662781d6d6",
"ap-northeast-2": "ami-0c3db49d90afa0f1e",
"ap-south-1": "",
"ap-southeast-1": "ami-031361e2106e79386",
"ap-southeast-2": "ami-0fde112efc845caec",
"eu-central-1": "ami-0444fdaca5263be70",
"eu-north-1": "ami-fe810880",
"eu-west-1": "ami-03b9f52d2b707ce0a",
"ap-southeast-1": "ami-0c903ead334faa6a3",
"ap-southeast-2": "ami-02d7e0f064bd7d8e0",
"eu-central-1": "ami-0939712219b80b525",
"eu-north-1": "ami-18bf3666",
"eu-west-1": "ami-014969e8d07b2fc9f",
"eu-west-2": "",
"eu-west-3": "",
"us-east-1": "ami-0a0cbb44e651c5e22",
"us-east-2": "ami-08697e581e49ffecf",
"us-west-2": "ami-095922d81242d0528",
"us-east-1": "ami-0558da965e2fc68b0",
"us-east-2": "ami-0c3afad2ea917168e",
"us-west-2": "ami-06045aa686f46dd58",
},
ImageClassGeneral: {
"ap-northeast-1": "ami-07fdc9272ce5b0ce5",
Expand Down
6 changes: 3 additions & 3 deletions pkg/ami/static_resolver_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -69,23 +69,23 @@ var _ = Describe("AMI Static Resolution", func() {
Version: "1.10",
InstanceType: "p2.xlarge",
ImageFamily: "AmazonLinux2",
ExpectedAMI: "ami-0796d47bbb4361153",
ExpectedAMI: "ami-02e0b615d7749e016",
ExpectError: false,
}),
Entry("with gpu (p3) instance and us-east-1", ResolveCase{
Region: "us-east-1",
Version: "1.10",
InstanceType: "p3.2xlarge",
ImageFamily: "AmazonLinux2",
ExpectedAMI: "ami-04c29548028d8a4a0",
ExpectedAMI: "ami-00cce60e4c241de4c",
ExpectError: false,
}),
Entry("with gpu (p2) instance and eu-west-1", ResolveCase{
Region: "eu-west-1",
Version: "1.10",
InstanceType: "p2.xlarge",
ImageFamily: "AmazonLinux2",
ExpectedAMI: "ami-098171628d39d4d6c",
ExpectedAMI: "ami-08d23ed2de9320c90",
ExpectError: false,
}),
Entry("with gpu (p3) instance and non-eks enabled region", ResolveCase{
Expand Down

0 comments on commit 55ba9e8

Please sign in to comment.