@@ -32,32 +32,32 @@ def client_error(error_code):
3232
3333
3434FLEET_CONFIG = {
35- "queue" : {"c5xlarge" : {"Api" : "run-instances" , "InstanceTypeList " : [{"InstanceType" : "c5.xlarge" }]}},
35+ "queue" : {"c5xlarge" : {"Api" : "run-instances" , "Instances " : [{"InstanceType" : "c5.xlarge" }]}},
3636 "queue1" : {
37- "c5xlarge" : {"Api" : "run-instances" , "InstanceTypeList " : [{"InstanceType" : "c5.xlarge" }]},
38- "c52xlarge" : {"Api" : "run-instances" , "InstanceTypeList " : [{"InstanceType" : "c5.2xlarge" }]},
39- "p4d24xlarge" : {"Api" : "run-instances" , "InstanceTypeList " : [{"InstanceType" : "p4d.24xlarge" }]},
37+ "c5xlarge" : {"Api" : "run-instances" , "Instances " : [{"InstanceType" : "c5.xlarge" }]},
38+ "c52xlarge" : {"Api" : "run-instances" , "Instances " : [{"InstanceType" : "c5.2xlarge" }]},
39+ "p4d24xlarge" : {"Api" : "run-instances" , "Instances " : [{"InstanceType" : "p4d.24xlarge" }]},
4040 "fleet-spot" : {
4141 "Api" : "create-fleet" ,
42- "InstanceTypeList " : [{"InstanceType" : "t2.medium" }, {"InstanceType" : "t2.large" }],
42+ "Instances " : [{"InstanceType" : "t2.medium" }, {"InstanceType" : "t2.large" }],
4343 "MaxPrice" : 10 ,
4444 "AllocationStrategy" : "capacity-optimized" ,
4545 "CapacityType" : "spot" ,
4646 },
4747 },
4848 "queue2" : {
49- "c5xlarge" : {"Api" : "run-instances" , "InstanceTypeList " : [{"InstanceType" : "c5.xlarge" }]},
49+ "c5xlarge" : {"Api" : "run-instances" , "Instances " : [{"InstanceType" : "c5.xlarge" }]},
5050 "fleet-ondemand" : {
5151 "Api" : "create-fleet" ,
52- "InstanceTypeList " : [{"InstanceType" : "t2.medium" }, {"InstanceType" : "t2.large" }],
52+ "Instances " : [{"InstanceType" : "t2.medium" }, {"InstanceType" : "t2.large" }],
5353 "AllocationStrategy" : "lowest-price" ,
5454 "CapacityType" : "on-demand" ,
5555 },
5656 },
5757 "queue3" : {
58- "c5xlarge" : {"Api" : "run-instances" , "InstanceTypeList " : [{"InstanceType" : "c5.xlarge" }]},
59- "c52xlarge" : {"Api" : "run-instances" , "InstanceTypeList " : [{"InstanceType" : "c5.2xlarge" }]},
60- "p4d24xlarge" : {"Api" : "run-instances" , "InstanceTypeList " : [{"InstanceType" : "p4d.24xlarge" }]},
58+ "c5xlarge" : {"Api" : "run-instances" , "Instances " : [{"InstanceType" : "c5.xlarge" }]},
59+ "c52xlarge" : {"Api" : "run-instances" , "Instances " : [{"InstanceType" : "c5.2xlarge" }]},
60+ "p4d24xlarge" : {"Api" : "run-instances" , "Instances " : [{"InstanceType" : "p4d.24xlarge" }]},
6161 },
6262}
6363
0 commit comments