Skip to content

Commit e833245

Browse files
Remove filter of instance types prefix
ParallelCluster CLI doesn't limit the instance types. So in UI, we shouldn't limit any instance types
1 parent c43409d commit e833245

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

api/PclusterApiHandler.py

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -581,13 +581,7 @@ def get_instance_types():
581581
ec2 = boto3.client("ec2", config=config)
582582
else:
583583
ec2 = boto3.client("ec2")
584-
filters = [
585-
{"Name": "current-generation", "Values": ["true"]},
586-
{"Name": "instance-type",
587-
"Values": [
588-
"c5*", "c6*", "c7*", "g4*", "g5*", "g6*", "hpc*", "p3*", "p4*", "p5*", "t2*", "t3*", "m6*", "m7*", "r*"
589-
]},
590-
]
584+
filters = [{"Name": "current-generation", "Values": ["true"]}]
591585
instance_paginator = ec2.get_paginator("describe_instance_types")
592586
instances_paginator = instance_paginator.paginate(Filters=filters)
593587
instance_types = []

0 commit comments

Comments
 (0)