Skip to content

Commit

Permalink
[Instance Type] Add support for instance family p5.
Browse files Browse the repository at this point in the history
  • Loading branch information
gmarciani committed Oct 9, 2024
1 parent 7d78e85 commit b62e1a1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion api/PclusterApiHandler.py
Original file line number Diff line number Diff line change
Expand Up @@ -556,7 +556,9 @@ def get_instance_types():
filters = [
{"Name": "current-generation", "Values": ["true"]},
{"Name": "instance-type",
"Values": ["c5*", "c6*", "c7*", "g4*", "g5*", "g6*", "hpc*", "p3*", "p4*", "t2*", "t3*", "m6*", "m7*", "r*"]},
"Values": [
"c5*", "c6*", "c7*", "g4*", "g5*", "g6*", "hpc*", "p3*", "p4*", "p5*", "t2*", "t3*", "m6*", "m7*", "r*"
]},
]
instance_paginator = ec2.get_paginator("describe_instance_types")
instances_paginator = instance_paginator.paginate(Filters=filters)
Expand Down

0 comments on commit b62e1a1

Please sign in to comment.