Skip to content

Commit 1e3e0a8

Browse files
committed
[Instance Type] Add support for instance family p5.
1 parent 7d78e85 commit 1e3e0a8

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

api/PclusterApiHandler.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -556,7 +556,9 @@ def get_instance_types():
556556
filters = [
557557
{"Name": "current-generation", "Values": ["true"]},
558558
{"Name": "instance-type",
559-
"Values": ["c5*", "c6*", "c7*", "g4*", "g5*", "g6*", "hpc*", "p3*", "p4*", "t2*", "t3*", "m6*", "m7*", "r*"]},
559+
"Values": [
560+
"c5*", "c6*", "c7*", "g4*", "g5*", "g6*", "hpc*", "p3*", "p4*", "p5*", "t2*", "t3*", "m6*", "m7*", "r*"
561+
]},
560562
]
561563
instance_paginator = ec2.get_paginator("describe_instance_types")
562564
instances_paginator = instance_paginator.paginate(Filters=filters)

0 commit comments

Comments
 (0)