sumomo 0.8.9 → 0.8.13
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +12 -11
- data/data/sumomo/custom_resources/{USEastCertificate.js → ACMCertificate.js} +8 -3
- data/data/sumomo/custom_resources/{USEastCertificateWaiter.js → ACMCertificateWaiter.js} +3 -1
- data/data/sumomo/custom_resources/AMILookup.js +378 -150
- data/data/sumomo/custom_resources/SelectSpot.js +376 -142
- data/exe/sumomo +12 -2
- data/lib/sumomo/api.rb +120 -9
- data/lib/sumomo/ec2.rb +9 -6
- data/lib/sumomo/stack.rb +1 -1
- data/lib/sumomo/version.rb +1 -1
- data/lib/sumomo.rb +33 -5
- data/sumomo.gemspec +6 -4
- data/update-spec.rb +381 -0
- metadata +51 -22
@@ -1,158 +1,386 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
|
141
|
-
|
142
|
-
|
143
|
-
|
1
|
+
var typeToPattern = {
|
2
|
+
'a1.2xlarge': { pattern: 'amzn2-ami-ecs-hvm-2.0.*arm64-ebs' },
|
3
|
+
'a1.4xlarge': { pattern: 'amzn2-ami-ecs-hvm-2.0.*arm64-ebs' },
|
4
|
+
'a1.large': { pattern: 'amzn2-ami-ecs-hvm-2.0.*arm64-ebs' },
|
5
|
+
'a1.medium': { pattern: 'amzn2-ami-ecs-hvm-2.0.*arm64-ebs' },
|
6
|
+
'a1.metal': { pattern: 'amzn2-ami-ecs-hvm-2.0.*arm64-ebs' },
|
7
|
+
'a1.xlarge': { pattern: 'amzn2-ami-ecs-hvm-2.0.*arm64-ebs' },
|
8
|
+
'c1.medium': { pattern: 'amzn2-ami-pv-2.0.*x86_64-ebs' },
|
9
|
+
'c1.xlarge': { pattern: 'amzn2-ami-pv-2.0.*x86_64-ebs' },
|
10
|
+
'c3.2xlarge': { pattern: 'amzn2-ami-pv-2.0.*x86_64-ebs' },
|
11
|
+
'c3.4xlarge': { pattern: 'amzn2-ami-pv-2.0.*x86_64-ebs' },
|
12
|
+
'c3.8xlarge': { pattern: 'amzn2-ami-pv-2.0.*x86_64-ebs' },
|
13
|
+
'c3.large': { pattern: 'amzn2-ami-pv-2.0.*x86_64-ebs' },
|
14
|
+
'c3.xlarge': { pattern: 'amzn2-ami-pv-2.0.*x86_64-ebs' },
|
15
|
+
'c4.2xlarge': { pattern: 'amzn2-ami-ecs-hvm-2.0.*x86_64-ebs' },
|
16
|
+
'c4.4xlarge': { pattern: 'amzn2-ami-ecs-hvm-2.0.*x86_64-ebs' },
|
17
|
+
'c4.8xlarge': { pattern: 'amzn2-ami-ecs-hvm-2.0.*x86_64-ebs' },
|
18
|
+
'c4.large': { pattern: 'amzn2-ami-ecs-hvm-2.0.*x86_64-ebs' },
|
19
|
+
'c4.xlarge': { pattern: 'amzn2-ami-ecs-hvm-2.0.*x86_64-ebs' },
|
20
|
+
'c5.12xlarge': { pattern: 'amzn2-ami-ecs-hvm-2.0.*x86_64-ebs' },
|
21
|
+
'c5.18xlarge': { pattern: 'amzn2-ami-ecs-hvm-2.0.*x86_64-ebs' },
|
22
|
+
'c5.24xlarge': { pattern: 'amzn2-ami-ecs-hvm-2.0.*x86_64-ebs' },
|
23
|
+
'c5.2xlarge': { pattern: 'amzn2-ami-ecs-hvm-2.0.*x86_64-ebs' },
|
24
|
+
'c5.4xlarge': { pattern: 'amzn2-ami-ecs-hvm-2.0.*x86_64-ebs' },
|
25
|
+
'c5.9xlarge': { pattern: 'amzn2-ami-ecs-hvm-2.0.*x86_64-ebs' },
|
26
|
+
'c5.large': { pattern: 'amzn2-ami-ecs-hvm-2.0.*x86_64-ebs' },
|
27
|
+
'c5.metal': { pattern: 'amzn2-ami-ecs-hvm-2.0.*x86_64-ebs' },
|
28
|
+
'c5.xlarge': { pattern: 'amzn2-ami-ecs-hvm-2.0.*x86_64-ebs' },
|
29
|
+
'c5a.12xlarge': { pattern: 'amzn2-ami-ecs-hvm-2.0.*x86_64-ebs' },
|
30
|
+
'c5a.16xlarge': { pattern: 'amzn2-ami-ecs-hvm-2.0.*x86_64-ebs' },
|
31
|
+
'c5a.24xlarge': { pattern: 'amzn2-ami-ecs-hvm-2.0.*x86_64-ebs' },
|
32
|
+
'c5a.2xlarge': { pattern: 'amzn2-ami-ecs-hvm-2.0.*x86_64-ebs' },
|
33
|
+
'c5a.4xlarge': { pattern: 'amzn2-ami-ecs-hvm-2.0.*x86_64-ebs' },
|
34
|
+
'c5a.8xlarge': { pattern: 'amzn2-ami-ecs-hvm-2.0.*x86_64-ebs' },
|
35
|
+
'c5a.large': { pattern: 'amzn2-ami-ecs-hvm-2.0.*x86_64-ebs' },
|
36
|
+
'c5a.xlarge': { pattern: 'amzn2-ami-ecs-hvm-2.0.*x86_64-ebs' },
|
37
|
+
'c5d.12xlarge': { pattern: 'amzn2-ami-ecs-hvm-2.0.*x86_64-ebs' },
|
38
|
+
'c5d.18xlarge': { pattern: 'amzn2-ami-ecs-hvm-2.0.*x86_64-ebs' },
|
39
|
+
'c5d.24xlarge': { pattern: 'amzn2-ami-ecs-hvm-2.0.*x86_64-ebs' },
|
40
|
+
'c5d.2xlarge': { pattern: 'amzn2-ami-ecs-hvm-2.0.*x86_64-ebs' },
|
41
|
+
'c5d.4xlarge': { pattern: 'amzn2-ami-ecs-hvm-2.0.*x86_64-ebs' },
|
42
|
+
'c5d.9xlarge': { pattern: 'amzn2-ami-ecs-hvm-2.0.*x86_64-ebs' },
|
43
|
+
'c5d.large': { pattern: 'amzn2-ami-ecs-hvm-2.0.*x86_64-ebs' },
|
44
|
+
'c5d.metal': { pattern: 'amzn2-ami-ecs-hvm-2.0.*x86_64-ebs' },
|
45
|
+
'c5d.xlarge': { pattern: 'amzn2-ami-ecs-hvm-2.0.*x86_64-ebs' },
|
46
|
+
'c5n.18xlarge': { pattern: 'amzn2-ami-ecs-hvm-2.0.*x86_64-ebs' },
|
47
|
+
'c5n.2xlarge': { pattern: 'amzn2-ami-ecs-hvm-2.0.*x86_64-ebs' },
|
48
|
+
'c5n.4xlarge': { pattern: 'amzn2-ami-ecs-hvm-2.0.*x86_64-ebs' },
|
49
|
+
'c5n.9xlarge': { pattern: 'amzn2-ami-ecs-hvm-2.0.*x86_64-ebs' },
|
50
|
+
'c5n.large': { pattern: 'amzn2-ami-ecs-hvm-2.0.*x86_64-ebs' },
|
51
|
+
'c5n.metal': { pattern: 'amzn2-ami-ecs-hvm-2.0.*x86_64-ebs' },
|
52
|
+
'c5n.xlarge': { pattern: 'amzn2-ami-ecs-hvm-2.0.*x86_64-ebs' },
|
53
|
+
'c6g.12xlarge': { pattern: 'amzn2-ami-ecs-hvm-2.0.*arm64-ebs' },
|
54
|
+
'c6g.16xlarge': { pattern: 'amzn2-ami-ecs-hvm-2.0.*arm64-ebs' },
|
55
|
+
'c6g.2xlarge': { pattern: 'amzn2-ami-ecs-hvm-2.0.*arm64-ebs' },
|
56
|
+
'c6g.4xlarge': { pattern: 'amzn2-ami-ecs-hvm-2.0.*arm64-ebs' },
|
57
|
+
'c6g.8xlarge': { pattern: 'amzn2-ami-ecs-hvm-2.0.*arm64-ebs' },
|
58
|
+
'c6g.large': { pattern: 'amzn2-ami-ecs-hvm-2.0.*arm64-ebs' },
|
59
|
+
'c6g.medium': { pattern: 'amzn2-ami-ecs-hvm-2.0.*arm64-ebs' },
|
60
|
+
'c6g.metal': { pattern: 'amzn2-ami-ecs-hvm-2.0.*arm64-ebs' },
|
61
|
+
'c6g.xlarge': { pattern: 'amzn2-ami-ecs-hvm-2.0.*arm64-ebs' },
|
62
|
+
'c6gd.12xlarge': { pattern: 'amzn2-ami-ecs-hvm-2.0.*arm64-ebs' },
|
63
|
+
'c6gd.16xlarge': { pattern: 'amzn2-ami-ecs-hvm-2.0.*arm64-ebs' },
|
64
|
+
'c6gd.2xlarge': { pattern: 'amzn2-ami-ecs-hvm-2.0.*arm64-ebs' },
|
65
|
+
'c6gd.4xlarge': { pattern: 'amzn2-ami-ecs-hvm-2.0.*arm64-ebs' },
|
66
|
+
'c6gd.8xlarge': { pattern: 'amzn2-ami-ecs-hvm-2.0.*arm64-ebs' },
|
67
|
+
'c6gd.large': { pattern: 'amzn2-ami-ecs-hvm-2.0.*arm64-ebs' },
|
68
|
+
'c6gd.medium': { pattern: 'amzn2-ami-ecs-hvm-2.0.*arm64-ebs' },
|
69
|
+
'c6gd.metal': { pattern: 'amzn2-ami-ecs-hvm-2.0.*arm64-ebs' },
|
70
|
+
'c6gd.xlarge': { pattern: 'amzn2-ami-ecs-hvm-2.0.*arm64-ebs' },
|
71
|
+
'c6gn.12xlarge': { pattern: 'amzn2-ami-ecs-hvm-2.0.*arm64-ebs' },
|
72
|
+
'c6gn.16xlarge': { pattern: 'amzn2-ami-ecs-hvm-2.0.*arm64-ebs' },
|
73
|
+
'c6gn.2xlarge': { pattern: 'amzn2-ami-ecs-hvm-2.0.*arm64-ebs' },
|
74
|
+
'c6gn.4xlarge': { pattern: 'amzn2-ami-ecs-hvm-2.0.*arm64-ebs' },
|
75
|
+
'c6gn.8xlarge': { pattern: 'amzn2-ami-ecs-hvm-2.0.*arm64-ebs' },
|
76
|
+
'c6gn.large': { pattern: 'amzn2-ami-ecs-hvm-2.0.*arm64-ebs' },
|
77
|
+
'c6gn.medium': { pattern: 'amzn2-ami-ecs-hvm-2.0.*arm64-ebs' },
|
78
|
+
'c6gn.xlarge': { pattern: 'amzn2-ami-ecs-hvm-2.0.*arm64-ebs' },
|
79
|
+
'cc2.8xlarge': { pattern: 'amzn2-ami-ecs-hvm-2.0.*x86_64-ebs' },
|
80
|
+
'd2.2xlarge': { pattern: 'amzn2-ami-ecs-hvm-2.0.*x86_64-ebs' },
|
81
|
+
'd2.4xlarge': { pattern: 'amzn2-ami-ecs-hvm-2.0.*x86_64-ebs' },
|
82
|
+
'd2.8xlarge': { pattern: 'amzn2-ami-ecs-hvm-2.0.*x86_64-ebs' },
|
83
|
+
'd2.xlarge': { pattern: 'amzn2-ami-ecs-hvm-2.0.*x86_64-ebs' },
|
84
|
+
'd3.2xlarge': { pattern: 'amzn2-ami-ecs-hvm-2.0.*x86_64-ebs' },
|
85
|
+
'd3.4xlarge': { pattern: 'amzn2-ami-ecs-hvm-2.0.*x86_64-ebs' },
|
86
|
+
'd3.8xlarge': { pattern: 'amzn2-ami-ecs-hvm-2.0.*x86_64-ebs' },
|
87
|
+
'd3.xlarge': { pattern: 'amzn2-ami-ecs-hvm-2.0.*x86_64-ebs' },
|
88
|
+
'g2.2xlarge': { pattern: 'amzn2-ami-ecs-gpu-hvm-2.0.*x86_64-ebs' },
|
89
|
+
'g2.8xlarge': { pattern: 'amzn2-ami-ecs-gpu-hvm-2.0.*x86_64-ebs' },
|
90
|
+
'g3.16xlarge': { pattern: 'amzn2-ami-ecs-gpu-hvm-2.0.*x86_64-ebs' },
|
91
|
+
'g3.4xlarge': { pattern: 'amzn2-ami-ecs-gpu-hvm-2.0.*x86_64-ebs' },
|
92
|
+
'g3.8xlarge': { pattern: 'amzn2-ami-ecs-gpu-hvm-2.0.*x86_64-ebs' },
|
93
|
+
'g3s.xlarge': { pattern: 'amzn2-ami-ecs-gpu-hvm-2.0.*x86_64-ebs' },
|
94
|
+
'g4ad.16xlarge': { pattern: 'amzn2-ami-ecs-gpu-hvm-2.0.*x86_64-ebs' },
|
95
|
+
'g4ad.2xlarge': { pattern: 'amzn2-ami-ecs-gpu-hvm-2.0.*x86_64-ebs' },
|
96
|
+
'g4ad.4xlarge': { pattern: 'amzn2-ami-ecs-gpu-hvm-2.0.*x86_64-ebs' },
|
97
|
+
'g4ad.8xlarge': { pattern: 'amzn2-ami-ecs-gpu-hvm-2.0.*x86_64-ebs' },
|
98
|
+
'g4ad.xlarge': { pattern: 'amzn2-ami-ecs-gpu-hvm-2.0.*x86_64-ebs' },
|
99
|
+
'g4dn.12xlarge': { pattern: 'amzn2-ami-ecs-gpu-hvm-2.0.*x86_64-ebs' },
|
100
|
+
'g4dn.16xlarge': { pattern: 'amzn2-ami-ecs-gpu-hvm-2.0.*x86_64-ebs' },
|
101
|
+
'g4dn.2xlarge': { pattern: 'amzn2-ami-ecs-gpu-hvm-2.0.*x86_64-ebs' },
|
102
|
+
'g4dn.4xlarge': { pattern: 'amzn2-ami-ecs-gpu-hvm-2.0.*x86_64-ebs' },
|
103
|
+
'g4dn.8xlarge': { pattern: 'amzn2-ami-ecs-gpu-hvm-2.0.*x86_64-ebs' },
|
104
|
+
'g4dn.metal': { pattern: 'amzn2-ami-ecs-gpu-hvm-2.0.*x86_64-ebs' },
|
105
|
+
'g4dn.xlarge': { pattern: 'amzn2-ami-ecs-gpu-hvm-2.0.*x86_64-ebs' },
|
106
|
+
'i2.2xlarge': { pattern: 'amzn2-ami-ecs-hvm-2.0.*x86_64-ebs' },
|
107
|
+
'i2.4xlarge': { pattern: 'amzn2-ami-ecs-hvm-2.0.*x86_64-ebs' },
|
108
|
+
'i2.8xlarge': { pattern: 'amzn2-ami-ecs-hvm-2.0.*x86_64-ebs' },
|
109
|
+
'i2.xlarge': { pattern: 'amzn2-ami-ecs-hvm-2.0.*x86_64-ebs' },
|
110
|
+
'i3.16xlarge': { pattern: 'amzn2-ami-ecs-hvm-2.0.*x86_64-ebs' },
|
111
|
+
'i3.2xlarge': { pattern: 'amzn2-ami-ecs-hvm-2.0.*x86_64-ebs' },
|
112
|
+
'i3.4xlarge': { pattern: 'amzn2-ami-ecs-hvm-2.0.*x86_64-ebs' },
|
113
|
+
'i3.8xlarge': { pattern: 'amzn2-ami-ecs-hvm-2.0.*x86_64-ebs' },
|
114
|
+
'i3.large': { pattern: 'amzn2-ami-ecs-hvm-2.0.*x86_64-ebs' },
|
115
|
+
'i3.metal': { pattern: 'amzn2-ami-ecs-hvm-2.0.*x86_64-ebs' },
|
116
|
+
'i3.xlarge': { pattern: 'amzn2-ami-ecs-hvm-2.0.*x86_64-ebs' },
|
117
|
+
'i3en.12xlarge': { pattern: 'amzn2-ami-ecs-hvm-2.0.*x86_64-ebs' },
|
118
|
+
'i3en.24xlarge': { pattern: 'amzn2-ami-ecs-hvm-2.0.*x86_64-ebs' },
|
119
|
+
'i3en.2xlarge': { pattern: 'amzn2-ami-ecs-hvm-2.0.*x86_64-ebs' },
|
120
|
+
'i3en.3xlarge': { pattern: 'amzn2-ami-ecs-hvm-2.0.*x86_64-ebs' },
|
121
|
+
'i3en.6xlarge': { pattern: 'amzn2-ami-ecs-hvm-2.0.*x86_64-ebs' },
|
122
|
+
'i3en.large': { pattern: 'amzn2-ami-ecs-hvm-2.0.*x86_64-ebs' },
|
123
|
+
'i3en.metal': { pattern: 'amzn2-ami-ecs-hvm-2.0.*x86_64-ebs' },
|
124
|
+
'i3en.xlarge': { pattern: 'amzn2-ami-ecs-hvm-2.0.*x86_64-ebs' },
|
125
|
+
'inf1.24xlarge': { pattern: 'amzn2-ami-ecs-hvm-2.0.*x86_64-ebs' },
|
126
|
+
'inf1.2xlarge': { pattern: 'amzn2-ami-ecs-hvm-2.0.*x86_64-ebs' },
|
127
|
+
'inf1.6xlarge': { pattern: 'amzn2-ami-ecs-hvm-2.0.*x86_64-ebs' },
|
128
|
+
'inf1.xlarge': { pattern: 'amzn2-ami-ecs-hvm-2.0.*x86_64-ebs' },
|
129
|
+
'm1.large': { pattern: 'amzn2-ami-pv-2.0.*x86_64-ebs' },
|
130
|
+
'm1.medium': { pattern: 'amzn2-ami-pv-2.0.*x86_64-ebs' },
|
131
|
+
'm1.small': { pattern: 'amzn2-ami-pv-2.0.*x86_64-ebs' },
|
132
|
+
'm1.xlarge': { pattern: 'amzn2-ami-pv-2.0.*x86_64-ebs' },
|
133
|
+
'm2.2xlarge': { pattern: 'amzn2-ami-pv-2.0.*x86_64-ebs' },
|
134
|
+
'm2.4xlarge': { pattern: 'amzn2-ami-pv-2.0.*x86_64-ebs' },
|
135
|
+
'm2.xlarge': { pattern: 'amzn2-ami-pv-2.0.*x86_64-ebs' },
|
136
|
+
'm3.2xlarge': { pattern: 'amzn2-ami-pv-2.0.*x86_64-ebs' },
|
137
|
+
'm3.large': { pattern: 'amzn2-ami-pv-2.0.*x86_64-ebs' },
|
138
|
+
'm3.medium': { pattern: 'amzn2-ami-pv-2.0.*x86_64-ebs' },
|
139
|
+
'm3.xlarge': { pattern: 'amzn2-ami-pv-2.0.*x86_64-ebs' },
|
140
|
+
'm4.10xlarge': { pattern: 'amzn2-ami-ecs-hvm-2.0.*x86_64-ebs' },
|
141
|
+
'm4.16xlarge': { pattern: 'amzn2-ami-ecs-hvm-2.0.*x86_64-ebs' },
|
142
|
+
'm4.2xlarge': { pattern: 'amzn2-ami-ecs-hvm-2.0.*x86_64-ebs' },
|
143
|
+
'm4.4xlarge': { pattern: 'amzn2-ami-ecs-hvm-2.0.*x86_64-ebs' },
|
144
|
+
'm4.large': { pattern: 'amzn2-ami-ecs-hvm-2.0.*x86_64-ebs' },
|
145
|
+
'm4.xlarge': { pattern: 'amzn2-ami-ecs-hvm-2.0.*x86_64-ebs' },
|
146
|
+
'm5.12xlarge': { pattern: 'amzn2-ami-ecs-hvm-2.0.*x86_64-ebs' },
|
147
|
+
'm5.16xlarge': { pattern: 'amzn2-ami-ecs-hvm-2.0.*x86_64-ebs' },
|
148
|
+
'm5.24xlarge': { pattern: 'amzn2-ami-ecs-hvm-2.0.*x86_64-ebs' },
|
149
|
+
'm5.2xlarge': { pattern: 'amzn2-ami-ecs-hvm-2.0.*x86_64-ebs' },
|
150
|
+
'm5.4xlarge': { pattern: 'amzn2-ami-ecs-hvm-2.0.*x86_64-ebs' },
|
151
|
+
'm5.8xlarge': { pattern: 'amzn2-ami-ecs-hvm-2.0.*x86_64-ebs' },
|
152
|
+
'm5.large': { pattern: 'amzn2-ami-ecs-hvm-2.0.*x86_64-ebs' },
|
153
|
+
'm5.metal': { pattern: 'amzn2-ami-ecs-hvm-2.0.*x86_64-ebs' },
|
154
|
+
'm5.xlarge': { pattern: 'amzn2-ami-ecs-hvm-2.0.*x86_64-ebs' },
|
155
|
+
'm5a.12xlarge': { pattern: 'amzn2-ami-ecs-hvm-2.0.*x86_64-ebs' },
|
156
|
+
'm5a.16xlarge': { pattern: 'amzn2-ami-ecs-hvm-2.0.*x86_64-ebs' },
|
157
|
+
'm5a.24xlarge': { pattern: 'amzn2-ami-ecs-hvm-2.0.*x86_64-ebs' },
|
158
|
+
'm5a.2xlarge': { pattern: 'amzn2-ami-ecs-hvm-2.0.*x86_64-ebs' },
|
159
|
+
'm5a.4xlarge': { pattern: 'amzn2-ami-ecs-hvm-2.0.*x86_64-ebs' },
|
160
|
+
'm5a.8xlarge': { pattern: 'amzn2-ami-ecs-hvm-2.0.*x86_64-ebs' },
|
161
|
+
'm5a.large': { pattern: 'amzn2-ami-ecs-hvm-2.0.*x86_64-ebs' },
|
162
|
+
'm5a.xlarge': { pattern: 'amzn2-ami-ecs-hvm-2.0.*x86_64-ebs' },
|
163
|
+
'm5ad.12xlarge': { pattern: 'amzn2-ami-ecs-hvm-2.0.*x86_64-ebs' },
|
164
|
+
'm5ad.16xlarge': { pattern: 'amzn2-ami-ecs-hvm-2.0.*x86_64-ebs' },
|
165
|
+
'm5ad.24xlarge': { pattern: 'amzn2-ami-ecs-hvm-2.0.*x86_64-ebs' },
|
166
|
+
'm5ad.2xlarge': { pattern: 'amzn2-ami-ecs-hvm-2.0.*x86_64-ebs' },
|
167
|
+
'm5ad.4xlarge': { pattern: 'amzn2-ami-ecs-hvm-2.0.*x86_64-ebs' },
|
168
|
+
'm5ad.8xlarge': { pattern: 'amzn2-ami-ecs-hvm-2.0.*x86_64-ebs' },
|
169
|
+
'm5ad.large': { pattern: 'amzn2-ami-ecs-hvm-2.0.*x86_64-ebs' },
|
170
|
+
'm5ad.xlarge': { pattern: 'amzn2-ami-ecs-hvm-2.0.*x86_64-ebs' },
|
171
|
+
'm5d.12xlarge': { pattern: 'amzn2-ami-ecs-hvm-2.0.*x86_64-ebs' },
|
172
|
+
'm5d.16xlarge': { pattern: 'amzn2-ami-ecs-hvm-2.0.*x86_64-ebs' },
|
173
|
+
'm5d.24xlarge': { pattern: 'amzn2-ami-ecs-hvm-2.0.*x86_64-ebs' },
|
174
|
+
'm5d.2xlarge': { pattern: 'amzn2-ami-ecs-hvm-2.0.*x86_64-ebs' },
|
175
|
+
'm5d.4xlarge': { pattern: 'amzn2-ami-ecs-hvm-2.0.*x86_64-ebs' },
|
176
|
+
'm5d.8xlarge': { pattern: 'amzn2-ami-ecs-hvm-2.0.*x86_64-ebs' },
|
177
|
+
'm5d.large': { pattern: 'amzn2-ami-ecs-hvm-2.0.*x86_64-ebs' },
|
178
|
+
'm5d.metal': { pattern: 'amzn2-ami-ecs-hvm-2.0.*x86_64-ebs' },
|
179
|
+
'm5d.xlarge': { pattern: 'amzn2-ami-ecs-hvm-2.0.*x86_64-ebs' },
|
180
|
+
'm5dn.12xlarge': { pattern: 'amzn2-ami-ecs-hvm-2.0.*x86_64-ebs' },
|
181
|
+
'm5dn.16xlarge': { pattern: 'amzn2-ami-ecs-hvm-2.0.*x86_64-ebs' },
|
182
|
+
'm5dn.24xlarge': { pattern: 'amzn2-ami-ecs-hvm-2.0.*x86_64-ebs' },
|
183
|
+
'm5dn.2xlarge': { pattern: 'amzn2-ami-ecs-hvm-2.0.*x86_64-ebs' },
|
184
|
+
'm5dn.4xlarge': { pattern: 'amzn2-ami-ecs-hvm-2.0.*x86_64-ebs' },
|
185
|
+
'm5dn.8xlarge': { pattern: 'amzn2-ami-ecs-hvm-2.0.*x86_64-ebs' },
|
186
|
+
'm5dn.large': { pattern: 'amzn2-ami-ecs-hvm-2.0.*x86_64-ebs' },
|
187
|
+
'm5dn.metal': { pattern: 'amzn2-ami-ecs-hvm-2.0.*x86_64-ebs' },
|
188
|
+
'm5dn.xlarge': { pattern: 'amzn2-ami-ecs-hvm-2.0.*x86_64-ebs' },
|
189
|
+
'm5n.12xlarge': { pattern: 'amzn2-ami-ecs-hvm-2.0.*x86_64-ebs' },
|
190
|
+
'm5n.16xlarge': { pattern: 'amzn2-ami-ecs-hvm-2.0.*x86_64-ebs' },
|
191
|
+
'm5n.24xlarge': { pattern: 'amzn2-ami-ecs-hvm-2.0.*x86_64-ebs' },
|
192
|
+
'm5n.2xlarge': { pattern: 'amzn2-ami-ecs-hvm-2.0.*x86_64-ebs' },
|
193
|
+
'm5n.4xlarge': { pattern: 'amzn2-ami-ecs-hvm-2.0.*x86_64-ebs' },
|
194
|
+
'm5n.8xlarge': { pattern: 'amzn2-ami-ecs-hvm-2.0.*x86_64-ebs' },
|
195
|
+
'm5n.large': { pattern: 'amzn2-ami-ecs-hvm-2.0.*x86_64-ebs' },
|
196
|
+
'm5n.metal': { pattern: 'amzn2-ami-ecs-hvm-2.0.*x86_64-ebs' },
|
197
|
+
'm5n.xlarge': { pattern: 'amzn2-ami-ecs-hvm-2.0.*x86_64-ebs' },
|
198
|
+
'm5zn.12xlarge': { pattern: 'amzn2-ami-ecs-hvm-2.0.*x86_64-ebs' },
|
199
|
+
'm5zn.2xlarge': { pattern: 'amzn2-ami-ecs-hvm-2.0.*x86_64-ebs' },
|
200
|
+
'm5zn.3xlarge': { pattern: 'amzn2-ami-ecs-hvm-2.0.*x86_64-ebs' },
|
201
|
+
'm5zn.6xlarge': { pattern: 'amzn2-ami-ecs-hvm-2.0.*x86_64-ebs' },
|
202
|
+
'm5zn.large': { pattern: 'amzn2-ami-ecs-hvm-2.0.*x86_64-ebs' },
|
203
|
+
'm5zn.metal': { pattern: 'amzn2-ami-ecs-hvm-2.0.*x86_64-ebs' },
|
204
|
+
'm5zn.xlarge': { pattern: 'amzn2-ami-ecs-hvm-2.0.*x86_64-ebs' },
|
205
|
+
'm6g.12xlarge': { pattern: 'amzn2-ami-ecs-hvm-2.0.*arm64-ebs' },
|
206
|
+
'm6g.16xlarge': { pattern: 'amzn2-ami-ecs-hvm-2.0.*arm64-ebs' },
|
207
|
+
'm6g.2xlarge': { pattern: 'amzn2-ami-ecs-hvm-2.0.*arm64-ebs' },
|
208
|
+
'm6g.4xlarge': { pattern: 'amzn2-ami-ecs-hvm-2.0.*arm64-ebs' },
|
209
|
+
'm6g.8xlarge': { pattern: 'amzn2-ami-ecs-hvm-2.0.*arm64-ebs' },
|
210
|
+
'm6g.large': { pattern: 'amzn2-ami-ecs-hvm-2.0.*arm64-ebs' },
|
211
|
+
'm6g.medium': { pattern: 'amzn2-ami-ecs-hvm-2.0.*arm64-ebs' },
|
212
|
+
'm6g.metal': { pattern: 'amzn2-ami-ecs-hvm-2.0.*arm64-ebs' },
|
213
|
+
'm6g.xlarge': { pattern: 'amzn2-ami-ecs-hvm-2.0.*arm64-ebs' },
|
214
|
+
'm6gd.12xlarge': { pattern: 'amzn2-ami-ecs-hvm-2.0.*arm64-ebs' },
|
215
|
+
'm6gd.16xlarge': { pattern: 'amzn2-ami-ecs-hvm-2.0.*arm64-ebs' },
|
216
|
+
'm6gd.2xlarge': { pattern: 'amzn2-ami-ecs-hvm-2.0.*arm64-ebs' },
|
217
|
+
'm6gd.4xlarge': { pattern: 'amzn2-ami-ecs-hvm-2.0.*arm64-ebs' },
|
218
|
+
'm6gd.8xlarge': { pattern: 'amzn2-ami-ecs-hvm-2.0.*arm64-ebs' },
|
219
|
+
'm6gd.large': { pattern: 'amzn2-ami-ecs-hvm-2.0.*arm64-ebs' },
|
220
|
+
'm6gd.medium': { pattern: 'amzn2-ami-ecs-hvm-2.0.*arm64-ebs' },
|
221
|
+
'm6gd.metal': { pattern: 'amzn2-ami-ecs-hvm-2.0.*arm64-ebs' },
|
222
|
+
'm6gd.xlarge': { pattern: 'amzn2-ami-ecs-hvm-2.0.*arm64-ebs' },
|
223
|
+
'm6i.12xlarge': { pattern: 'amzn2-ami-ecs-hvm-2.0.*x86_64-ebs' },
|
224
|
+
'm6i.16xlarge': { pattern: 'amzn2-ami-ecs-hvm-2.0.*x86_64-ebs' },
|
225
|
+
'm6i.24xlarge': { pattern: 'amzn2-ami-ecs-hvm-2.0.*x86_64-ebs' },
|
226
|
+
'm6i.2xlarge': { pattern: 'amzn2-ami-ecs-hvm-2.0.*x86_64-ebs' },
|
227
|
+
'm6i.32xlarge': { pattern: 'amzn2-ami-ecs-hvm-2.0.*x86_64-ebs' },
|
228
|
+
'm6i.4xlarge': { pattern: 'amzn2-ami-ecs-hvm-2.0.*x86_64-ebs' },
|
229
|
+
'm6i.8xlarge': { pattern: 'amzn2-ami-ecs-hvm-2.0.*x86_64-ebs' },
|
230
|
+
'm6i.large': { pattern: 'amzn2-ami-ecs-hvm-2.0.*x86_64-ebs' },
|
231
|
+
'm6i.xlarge': { pattern: 'amzn2-ami-ecs-hvm-2.0.*x86_64-ebs' },
|
232
|
+
'mac1.metal': { pattern: 'amzn-ec2-macos-*' },
|
233
|
+
'p2.16xlarge': { pattern: 'amzn2-ami-ecs-gpu-hvm-2.0.*x86_64-ebs' },
|
234
|
+
'p2.8xlarge': { pattern: 'amzn2-ami-ecs-gpu-hvm-2.0.*x86_64-ebs' },
|
235
|
+
'p2.xlarge': { pattern: 'amzn2-ami-ecs-gpu-hvm-2.0.*x86_64-ebs' },
|
236
|
+
'p3.16xlarge': { pattern: 'amzn2-ami-ecs-gpu-hvm-2.0.*x86_64-ebs' },
|
237
|
+
'p3.2xlarge': { pattern: 'amzn2-ami-ecs-gpu-hvm-2.0.*x86_64-ebs' },
|
238
|
+
'p3.8xlarge': { pattern: 'amzn2-ami-ecs-gpu-hvm-2.0.*x86_64-ebs' },
|
239
|
+
'p3dn.24xlarge': { pattern: 'amzn2-ami-ecs-gpu-hvm-2.0.*x86_64-ebs' },
|
240
|
+
'p4d.24xlarge': { pattern: 'amzn2-ami-ecs-gpu-hvm-2.0.*x86_64-ebs' },
|
241
|
+
'r3.2xlarge': { pattern: 'amzn2-ami-ecs-hvm-2.0.*x86_64-ebs' },
|
242
|
+
'r3.4xlarge': { pattern: 'amzn2-ami-ecs-hvm-2.0.*x86_64-ebs' },
|
243
|
+
'r3.8xlarge': { pattern: 'amzn2-ami-ecs-hvm-2.0.*x86_64-ebs' },
|
244
|
+
'r3.large': { pattern: 'amzn2-ami-ecs-hvm-2.0.*x86_64-ebs' },
|
245
|
+
'r3.xlarge': { pattern: 'amzn2-ami-ecs-hvm-2.0.*x86_64-ebs' },
|
246
|
+
'r4.16xlarge': { pattern: 'amzn2-ami-ecs-hvm-2.0.*x86_64-ebs' },
|
247
|
+
'r4.2xlarge': { pattern: 'amzn2-ami-ecs-hvm-2.0.*x86_64-ebs' },
|
248
|
+
'r4.4xlarge': { pattern: 'amzn2-ami-ecs-hvm-2.0.*x86_64-ebs' },
|
249
|
+
'r4.8xlarge': { pattern: 'amzn2-ami-ecs-hvm-2.0.*x86_64-ebs' },
|
250
|
+
'r4.large': { pattern: 'amzn2-ami-ecs-hvm-2.0.*x86_64-ebs' },
|
251
|
+
'r4.xlarge': { pattern: 'amzn2-ami-ecs-hvm-2.0.*x86_64-ebs' },
|
252
|
+
'r5.12xlarge': { pattern: 'amzn2-ami-ecs-hvm-2.0.*x86_64-ebs' },
|
253
|
+
'r5.16xlarge': { pattern: 'amzn2-ami-ecs-hvm-2.0.*x86_64-ebs' },
|
254
|
+
'r5.24xlarge': { pattern: 'amzn2-ami-ecs-hvm-2.0.*x86_64-ebs' },
|
255
|
+
'r5.2xlarge': { pattern: 'amzn2-ami-ecs-hvm-2.0.*x86_64-ebs' },
|
256
|
+
'r5.4xlarge': { pattern: 'amzn2-ami-ecs-hvm-2.0.*x86_64-ebs' },
|
257
|
+
'r5.8xlarge': { pattern: 'amzn2-ami-ecs-hvm-2.0.*x86_64-ebs' },
|
258
|
+
'r5.large': { pattern: 'amzn2-ami-ecs-hvm-2.0.*x86_64-ebs' },
|
259
|
+
'r5.metal': { pattern: 'amzn2-ami-ecs-hvm-2.0.*x86_64-ebs' },
|
260
|
+
'r5.xlarge': { pattern: 'amzn2-ami-ecs-hvm-2.0.*x86_64-ebs' },
|
261
|
+
'r5a.12xlarge': { pattern: 'amzn2-ami-ecs-hvm-2.0.*x86_64-ebs' },
|
262
|
+
'r5a.16xlarge': { pattern: 'amzn2-ami-ecs-hvm-2.0.*x86_64-ebs' },
|
263
|
+
'r5a.24xlarge': { pattern: 'amzn2-ami-ecs-hvm-2.0.*x86_64-ebs' },
|
264
|
+
'r5a.2xlarge': { pattern: 'amzn2-ami-ecs-hvm-2.0.*x86_64-ebs' },
|
265
|
+
'r5a.4xlarge': { pattern: 'amzn2-ami-ecs-hvm-2.0.*x86_64-ebs' },
|
266
|
+
'r5a.8xlarge': { pattern: 'amzn2-ami-ecs-hvm-2.0.*x86_64-ebs' },
|
267
|
+
'r5a.large': { pattern: 'amzn2-ami-ecs-hvm-2.0.*x86_64-ebs' },
|
268
|
+
'r5a.xlarge': { pattern: 'amzn2-ami-ecs-hvm-2.0.*x86_64-ebs' },
|
269
|
+
'r5ad.12xlarge': { pattern: 'amzn2-ami-ecs-hvm-2.0.*x86_64-ebs' },
|
270
|
+
'r5ad.16xlarge': { pattern: 'amzn2-ami-ecs-hvm-2.0.*x86_64-ebs' },
|
271
|
+
'r5ad.24xlarge': { pattern: 'amzn2-ami-ecs-hvm-2.0.*x86_64-ebs' },
|
272
|
+
'r5ad.2xlarge': { pattern: 'amzn2-ami-ecs-hvm-2.0.*x86_64-ebs' },
|
273
|
+
'r5ad.4xlarge': { pattern: 'amzn2-ami-ecs-hvm-2.0.*x86_64-ebs' },
|
274
|
+
'r5ad.8xlarge': { pattern: 'amzn2-ami-ecs-hvm-2.0.*x86_64-ebs' },
|
275
|
+
'r5ad.large': { pattern: 'amzn2-ami-ecs-hvm-2.0.*x86_64-ebs' },
|
276
|
+
'r5ad.xlarge': { pattern: 'amzn2-ami-ecs-hvm-2.0.*x86_64-ebs' },
|
277
|
+
'r5b.12xlarge': { pattern: 'amzn2-ami-ecs-hvm-2.0.*x86_64-ebs' },
|
278
|
+
'r5b.16xlarge': { pattern: 'amzn2-ami-ecs-hvm-2.0.*x86_64-ebs' },
|
279
|
+
'r5b.24xlarge': { pattern: 'amzn2-ami-ecs-hvm-2.0.*x86_64-ebs' },
|
280
|
+
'r5b.2xlarge': { pattern: 'amzn2-ami-ecs-hvm-2.0.*x86_64-ebs' },
|
281
|
+
'r5b.4xlarge': { pattern: 'amzn2-ami-ecs-hvm-2.0.*x86_64-ebs' },
|
282
|
+
'r5b.8xlarge': { pattern: 'amzn2-ami-ecs-hvm-2.0.*x86_64-ebs' },
|
283
|
+
'r5b.large': { pattern: 'amzn2-ami-ecs-hvm-2.0.*x86_64-ebs' },
|
284
|
+
'r5b.metal': { pattern: 'amzn2-ami-ecs-hvm-2.0.*x86_64-ebs' },
|
285
|
+
'r5b.xlarge': { pattern: 'amzn2-ami-ecs-hvm-2.0.*x86_64-ebs' },
|
286
|
+
'r5d.12xlarge': { pattern: 'amzn2-ami-ecs-hvm-2.0.*x86_64-ebs' },
|
287
|
+
'r5d.16xlarge': { pattern: 'amzn2-ami-ecs-hvm-2.0.*x86_64-ebs' },
|
288
|
+
'r5d.24xlarge': { pattern: 'amzn2-ami-ecs-hvm-2.0.*x86_64-ebs' },
|
289
|
+
'r5d.2xlarge': { pattern: 'amzn2-ami-ecs-hvm-2.0.*x86_64-ebs' },
|
290
|
+
'r5d.4xlarge': { pattern: 'amzn2-ami-ecs-hvm-2.0.*x86_64-ebs' },
|
291
|
+
'r5d.8xlarge': { pattern: 'amzn2-ami-ecs-hvm-2.0.*x86_64-ebs' },
|
292
|
+
'r5d.large': { pattern: 'amzn2-ami-ecs-hvm-2.0.*x86_64-ebs' },
|
293
|
+
'r5d.metal': { pattern: 'amzn2-ami-ecs-hvm-2.0.*x86_64-ebs' },
|
294
|
+
'r5d.xlarge': { pattern: 'amzn2-ami-ecs-hvm-2.0.*x86_64-ebs' },
|
295
|
+
'r5dn.12xlarge': { pattern: 'amzn2-ami-ecs-hvm-2.0.*x86_64-ebs' },
|
296
|
+
'r5dn.16xlarge': { pattern: 'amzn2-ami-ecs-hvm-2.0.*x86_64-ebs' },
|
297
|
+
'r5dn.24xlarge': { pattern: 'amzn2-ami-ecs-hvm-2.0.*x86_64-ebs' },
|
298
|
+
'r5dn.2xlarge': { pattern: 'amzn2-ami-ecs-hvm-2.0.*x86_64-ebs' },
|
299
|
+
'r5dn.4xlarge': { pattern: 'amzn2-ami-ecs-hvm-2.0.*x86_64-ebs' },
|
300
|
+
'r5dn.8xlarge': { pattern: 'amzn2-ami-ecs-hvm-2.0.*x86_64-ebs' },
|
301
|
+
'r5dn.large': { pattern: 'amzn2-ami-ecs-hvm-2.0.*x86_64-ebs' },
|
302
|
+
'r5dn.metal': { pattern: 'amzn2-ami-ecs-hvm-2.0.*x86_64-ebs' },
|
303
|
+
'r5dn.xlarge': { pattern: 'amzn2-ami-ecs-hvm-2.0.*x86_64-ebs' },
|
304
|
+
'r5n.12xlarge': { pattern: 'amzn2-ami-ecs-hvm-2.0.*x86_64-ebs' },
|
305
|
+
'r5n.16xlarge': { pattern: 'amzn2-ami-ecs-hvm-2.0.*x86_64-ebs' },
|
306
|
+
'r5n.24xlarge': { pattern: 'amzn2-ami-ecs-hvm-2.0.*x86_64-ebs' },
|
307
|
+
'r5n.2xlarge': { pattern: 'amzn2-ami-ecs-hvm-2.0.*x86_64-ebs' },
|
308
|
+
'r5n.4xlarge': { pattern: 'amzn2-ami-ecs-hvm-2.0.*x86_64-ebs' },
|
309
|
+
'r5n.8xlarge': { pattern: 'amzn2-ami-ecs-hvm-2.0.*x86_64-ebs' },
|
310
|
+
'r5n.large': { pattern: 'amzn2-ami-ecs-hvm-2.0.*x86_64-ebs' },
|
311
|
+
'r5n.metal': { pattern: 'amzn2-ami-ecs-hvm-2.0.*x86_64-ebs' },
|
312
|
+
'r5n.xlarge': { pattern: 'amzn2-ami-ecs-hvm-2.0.*x86_64-ebs' },
|
313
|
+
'r6g.12xlarge': { pattern: 'amzn2-ami-ecs-hvm-2.0.*arm64-ebs' },
|
314
|
+
'r6g.16xlarge': { pattern: 'amzn2-ami-ecs-hvm-2.0.*arm64-ebs' },
|
315
|
+
'r6g.2xlarge': { pattern: 'amzn2-ami-ecs-hvm-2.0.*arm64-ebs' },
|
316
|
+
'r6g.4xlarge': { pattern: 'amzn2-ami-ecs-hvm-2.0.*arm64-ebs' },
|
317
|
+
'r6g.8xlarge': { pattern: 'amzn2-ami-ecs-hvm-2.0.*arm64-ebs' },
|
318
|
+
'r6g.large': { pattern: 'amzn2-ami-ecs-hvm-2.0.*arm64-ebs' },
|
319
|
+
'r6g.medium': { pattern: 'amzn2-ami-ecs-hvm-2.0.*arm64-ebs' },
|
320
|
+
'r6g.metal': { pattern: 'amzn2-ami-ecs-hvm-2.0.*arm64-ebs' },
|
321
|
+
'r6g.xlarge': { pattern: 'amzn2-ami-ecs-hvm-2.0.*arm64-ebs' },
|
322
|
+
'r6gd.12xlarge': { pattern: 'amzn2-ami-ecs-hvm-2.0.*arm64-ebs' },
|
323
|
+
'r6gd.16xlarge': { pattern: 'amzn2-ami-ecs-hvm-2.0.*arm64-ebs' },
|
324
|
+
'r6gd.2xlarge': { pattern: 'amzn2-ami-ecs-hvm-2.0.*arm64-ebs' },
|
325
|
+
'r6gd.4xlarge': { pattern: 'amzn2-ami-ecs-hvm-2.0.*arm64-ebs' },
|
326
|
+
'r6gd.8xlarge': { pattern: 'amzn2-ami-ecs-hvm-2.0.*arm64-ebs' },
|
327
|
+
'r6gd.large': { pattern: 'amzn2-ami-ecs-hvm-2.0.*arm64-ebs' },
|
328
|
+
'r6gd.medium': { pattern: 'amzn2-ami-ecs-hvm-2.0.*arm64-ebs' },
|
329
|
+
'r6gd.metal': { pattern: 'amzn2-ami-ecs-hvm-2.0.*arm64-ebs' },
|
330
|
+
'r6gd.xlarge': { pattern: 'amzn2-ami-ecs-hvm-2.0.*arm64-ebs' },
|
331
|
+
't1.micro': { pattern: 'amzn2-ami-pv-2.0.*x86_64-ebs' },
|
332
|
+
't2.2xlarge': { pattern: 'amzn2-ami-ecs-hvm-2.0.*x86_64-ebs' },
|
333
|
+
't2.large': { pattern: 'amzn2-ami-ecs-hvm-2.0.*x86_64-ebs' },
|
334
|
+
't2.medium': { pattern: 'amzn2-ami-ecs-hvm-2.0.*x86_64-ebs' },
|
335
|
+
't2.micro': { pattern: 'amzn2-ami-ecs-hvm-2.0.*x86_64-ebs' },
|
336
|
+
't2.nano': { pattern: 'amzn2-ami-ecs-hvm-2.0.*x86_64-ebs' },
|
337
|
+
't2.small': { pattern: 'amzn2-ami-ecs-hvm-2.0.*x86_64-ebs' },
|
338
|
+
't2.xlarge': { pattern: 'amzn2-ami-ecs-hvm-2.0.*x86_64-ebs' },
|
339
|
+
't3.2xlarge': { pattern: 'amzn2-ami-ecs-hvm-2.0.*x86_64-ebs' },
|
340
|
+
't3.large': { pattern: 'amzn2-ami-ecs-hvm-2.0.*x86_64-ebs' },
|
341
|
+
't3.medium': { pattern: 'amzn2-ami-ecs-hvm-2.0.*x86_64-ebs' },
|
342
|
+
't3.micro': { pattern: 'amzn2-ami-ecs-hvm-2.0.*x86_64-ebs' },
|
343
|
+
't3.nano': { pattern: 'amzn2-ami-ecs-hvm-2.0.*x86_64-ebs' },
|
344
|
+
't3.small': { pattern: 'amzn2-ami-ecs-hvm-2.0.*x86_64-ebs' },
|
345
|
+
't3.xlarge': { pattern: 'amzn2-ami-ecs-hvm-2.0.*x86_64-ebs' },
|
346
|
+
't3a.2xlarge': { pattern: 'amzn2-ami-ecs-hvm-2.0.*x86_64-ebs' },
|
347
|
+
't3a.large': { pattern: 'amzn2-ami-ecs-hvm-2.0.*x86_64-ebs' },
|
348
|
+
't3a.medium': { pattern: 'amzn2-ami-ecs-hvm-2.0.*x86_64-ebs' },
|
349
|
+
't3a.micro': { pattern: 'amzn2-ami-ecs-hvm-2.0.*x86_64-ebs' },
|
350
|
+
't3a.nano': { pattern: 'amzn2-ami-ecs-hvm-2.0.*x86_64-ebs' },
|
351
|
+
't3a.small': { pattern: 'amzn2-ami-ecs-hvm-2.0.*x86_64-ebs' },
|
352
|
+
't3a.xlarge': { pattern: 'amzn2-ami-ecs-hvm-2.0.*x86_64-ebs' },
|
353
|
+
't4g.2xlarge': { pattern: 'amzn2-ami-ecs-hvm-2.0.*arm64-ebs' },
|
354
|
+
't4g.large': { pattern: 'amzn2-ami-ecs-hvm-2.0.*arm64-ebs' },
|
355
|
+
't4g.medium': { pattern: 'amzn2-ami-ecs-hvm-2.0.*arm64-ebs' },
|
356
|
+
't4g.micro': { pattern: 'amzn2-ami-ecs-hvm-2.0.*arm64-ebs' },
|
357
|
+
't4g.nano': { pattern: 'amzn2-ami-ecs-hvm-2.0.*arm64-ebs' },
|
358
|
+
't4g.small': { pattern: 'amzn2-ami-ecs-hvm-2.0.*arm64-ebs' },
|
359
|
+
't4g.xlarge': { pattern: 'amzn2-ami-ecs-hvm-2.0.*arm64-ebs' },
|
360
|
+
'vt1.24xlarge': { pattern: 'amzn2-ami-ecs-hvm-2.0.*x86_64-ebs' },
|
361
|
+
'vt1.3xlarge': { pattern: 'amzn2-ami-ecs-hvm-2.0.*x86_64-ebs' },
|
362
|
+
'vt1.6xlarge': { pattern: 'amzn2-ami-ecs-hvm-2.0.*x86_64-ebs' },
|
363
|
+
'x1.16xlarge': { pattern: 'amzn2-ami-ecs-hvm-2.0.*x86_64-ebs' },
|
364
|
+
'x1.32xlarge': { pattern: 'amzn2-ami-ecs-hvm-2.0.*x86_64-ebs' },
|
365
|
+
'x1e.16xlarge': { pattern: 'amzn2-ami-ecs-hvm-2.0.*x86_64-ebs' },
|
366
|
+
'x1e.2xlarge': { pattern: 'amzn2-ami-ecs-hvm-2.0.*x86_64-ebs' },
|
367
|
+
'x1e.32xlarge': { pattern: 'amzn2-ami-ecs-hvm-2.0.*x86_64-ebs' },
|
368
|
+
'x1e.4xlarge': { pattern: 'amzn2-ami-ecs-hvm-2.0.*x86_64-ebs' },
|
369
|
+
'x1e.8xlarge': { pattern: 'amzn2-ami-ecs-hvm-2.0.*x86_64-ebs' },
|
370
|
+
'x1e.xlarge': { pattern: 'amzn2-ami-ecs-hvm-2.0.*x86_64-ebs' },
|
371
|
+
'z1d.12xlarge': { pattern: 'amzn2-ami-ecs-hvm-2.0.*x86_64-ebs' },
|
372
|
+
'z1d.2xlarge': { pattern: 'amzn2-ami-ecs-hvm-2.0.*x86_64-ebs' },
|
373
|
+
'z1d.3xlarge': { pattern: 'amzn2-ami-ecs-hvm-2.0.*x86_64-ebs' },
|
374
|
+
'z1d.6xlarge': { pattern: 'amzn2-ami-ecs-hvm-2.0.*x86_64-ebs' },
|
375
|
+
'z1d.large': { pattern: 'amzn2-ami-ecs-hvm-2.0.*x86_64-ebs' },
|
376
|
+
'z1d.metal': { pattern: 'amzn2-ami-ecs-hvm-2.0.*x86_64-ebs' },
|
377
|
+
'z1d.xlarge': { pattern: 'amzn2-ami-ecs-hvm-2.0.*x86_64-ebs' }
|
144
378
|
}
|
145
379
|
|
146
|
-
var archToAMINamePattern = {
|
147
|
-
"PV64": "amzn-ami-pv*x86_64-ebs",
|
148
|
-
"HVM64": "amzn2-ami-hvm-2.0.*x86_64-gp2",
|
149
|
-
"HVMG2": "amzn2-ami-graphics-hvm-2.0.*x86_64-ebs*"
|
150
|
-
};
|
151
|
-
|
152
380
|
var ec2 = new aws.EC2({region: request.ResourceProperties.Region});
|
153
381
|
|
154
382
|
var describeImagesParams = {
|
155
|
-
Filters: [{ Name: "name", Values: [
|
383
|
+
Filters: [{ Name: "name", Values: [typeToPattern[request.ResourceProperties.InstanceType].pattern]}],
|
156
384
|
Owners: [request.ResourceProperties.Architecture == "HVMG2" ? "679593333241" : "amazon"]
|
157
385
|
};
|
158
386
|
|