You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Switch the asg between launch template specification, and mixed instance policy. Add a warm pool rule assertion that if enabled, a single instance is used and spot is not used
Copy file name to clipboardExpand all lines: templates/aws-stack.yml
+77-38Lines changed: 77 additions & 38 deletions
Original file line number
Diff line number
Diff line change
@@ -231,12 +231,22 @@ Parameters:
231
231
232
232
InstanceType:
233
233
Description: Instance type. Comma-separated list with 1-4 instance types. The order is a prioritized preference for launching OnDemand instances, and a non-prioritized list of types to consider for Spot Instances (where used).
234
-
Type: String
234
+
Type: CommaDelimitedList
235
235
Default: t3.large
236
236
MinLength: 1
237
237
AllowedPattern: "^[\\w\\.]+(,[\\w\\.]*){0,3}$"
238
238
ConstraintDescription: "must contain 1-4 instance types separated by commas. No space before/after the comma."
239
239
240
+
InstanceTypes:
241
+
Description: How many instance types are specified in InstanceType
242
+
Type: String
243
+
Default: "1"
244
+
AllowedValues:
245
+
- "1"
246
+
- "2"
247
+
- "3"
248
+
- "4"
249
+
240
250
SpotPrice:
241
251
Description: Maximum spot price to use for the instances, in instance cost per hour. Values >0 will result in 100% of instances being spot. 0 means only use normal (non-spot) instances. This parameter is deprecated - we recommend setting to 0 and using OnDemandPercentage to opt into spot instances.
242
252
Type: String
@@ -462,6 +472,19 @@ Rules:
462
472
- !RefBuildkiteAgentTokenParameterStorePath
463
473
- ""
464
474
AssertDescription: "You must provide BuildkiteAgentToken or BuildkiteAgentTokenParameterStorePath"
0 commit comments