INVALID_ARGUMENT | name is required | Provide a name field. |
INVALID_ARGUMENT | name must match [a-z][a-z0-9-]{0,62} | Use a lowercase DNS label for the name. |
INVALID_ARGUMENT | description exceeds 1024 byte limit | Shorten the description to 1024 bytes or fewer. |
INVALID_ARGUMENT | vcpus must be positive | Set vcpus to a value greater than 0. |
INVALID_ARGUMENT | memory_gb must be positive | Set memory_gb to a value greater than 0. |
INVALID_ARGUMENT | architecture is required | Set architecture to ARCHITECTURE_AMD64 or ARCHITECTURE_ARM64. |
INVALID_ARGUMENT | unknown architecture value <N> | Use a valid architecture value. |
INVALID_ARGUMENT | gpu_kind is required when has_gpu is true | Provide gpu_kind when has_gpu is true. |
INVALID_ARGUMENT | gpu_kind must be empty when has_gpu is false | Remove gpu_kind, or set has_gpu to true on a machine type that includes GPUs. |
INVALID_ARGUMENT | spec is required ... | Provide exactly one of aws or gce. |
INVALID_ARGUMENT | aws.instance_type "<value>" does not match EC2 format | Use a valid EC2 instance type string (e.g. m5.8xlarge). |
INVALID_ARGUMENT | gce.machine_type "<value>" does not match GCE format | Use a valid GCE machine type string (e.g. n2-standard-32). |
INVALID_ARGUMENT | gce.accelerator_type and gce.accelerator_count must be unset: separately attached accelerators are not yet supported on GCE. Use an accelerator-optimized machine type, which includes its GPUs | Remove gce.accelerator_type and gce.accelerator_count, and name an accelerator-optimized machine_type such as a2-highgpu-1g: see GPU support. |
INVALID_ARGUMENT | has_gpu requires an accelerator-optimized gce.machine_type (a2, a3, a4, a4x, g2, g4 series); "<value>" includes no GPU | Name an accelerator-optimized gce.machine_type, or remove has_gpu and gpu_kind: see GPU support. |
INVALID_ARGUMENT | gce.machine_type "<value>" includes GPUs: set has_gpu and gpu_kind to describe them | Set has_gpu: true and gpu_kind on the machine type, so it describes the GPUs its VMs get. |
INVALID_ARGUMENT | aws.regions must be non-empty | Add at least one region to aws.regions. |
INVALID_ARGUMENT | gce.regions must be non-empty | Add at least one region to gce.regions. |
INVALID_ARGUMENT | gce.supported_disk_types[<index>] must be non-empty | Remove the empty entry, or name the disk type’s gce.disk_type it was meant to hold. |
INVALID_ARGUMENT | gce.supported_disk_types[<index>] repeats "<value>" | Remove the duplicate entry: listing a disk type twice allows nothing extra. |
INVALID_ARGUMENT | aws.regions["<region>"].cost_per_hour must be > 0 | Set cost_per_hour to a positive value for the given region. |
INVALID_ARGUMENT | gce.regions["<region>"].cost_per_hour must be > 0 | Set cost_per_hour to a positive value for the given region. |
INVALID_ARGUMENT | <spec>.regions["<region>"].cost_per_hour <value> is above the maximum billable rate of 1e+06 USD | Use a rate of 1000000 or less. |
INVALID_ARGUMENT | <spec>.regions["<region>"].spot_cost_per_hour must be > 0, or omitted where the machine type is not offered on Spot | Set a positive Spot rate, or omit spot_cost_per_hour. |
INVALID_ARGUMENT | preserves_memory_on_sleep: <reason> | This shape cannot preserve memory across a sleep. Remove preserves_memory_on_sleep. |
INVALID_ARGUMENT | platform machine types are reserved for builtins and cannot be written via the catalog | Do not set the platform field. Built-in machine types are managed by the platform. |
FAILED_PRECONDITION | cannot delete machine-type "<name>": referenced by environment: <names> | Remove the machine_type_ref from the referencing environments before deleting the machine type. |