Update Google Cloud machine types #478
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
This PR updates the
rules/utils.gofile to include missing Google Cloud machine types. The list of valid machine types was cross-referenced with the output ofgcloud compute machine-types listto ensure completeness.This update adds support for newer machine families including N4D, C4, X4, and various GPU/TPU configurations that were previously missing from the validation rules.
Changes
Added the following machine types to
validMachineTypes:A3 Series
a3-edgegpu-8g-nolssda3-ultragpu-8g-nolssdC4 Series
c4-highmem-288-lssd-metalc4-standard-288-lssd-metalCT (TPU) Series
ct3-hightpu-4tct3p-hightpu-4tct5p-hightpu-4tct6e-standard-1tct6e-standard-4tct6e-standard-8ttpu7x-standard-4tH4D Series
h4d-highmem-192h4d-standard-192N4D Series
High CPU:
n4d-highcpu-2,n4d-highcpu-4,n4d-highcpu-8,n4d-highcpu-16,n4d-highcpu-32,n4d-highcpu-48,n4d-highcpu-64,n4d-highcpu-80,n4d-highcpu-96High Mem:
n4d-highmem-2,n4d-highmem-4,n4d-highmem-8,n4d-highmem-16,n4d-highmem-32,n4d-highmem-48,n4d-highmem-64,n4d-highmem-80,n4d-highmem-96Standard:
n4d-standard-2,n4d-standard-4,n4d-standard-8,n4d-standard-16,n4d-standard-32,n4d-standard-48,n4d-standard-64,n4d-standard-80,n4d-standard-96X4 Series
x4-1440-24t-metalx4-1920-32t-metalx4-960-12t-metalx4-960-16t-metal