From 535a13949bd60af6aa0e6e3f46290df8108f82bf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mathias=20Lav=C3=A9r?= Date: Tue, 24 Jun 2025 11:50:56 +0200 Subject: [PATCH] Add c4d machines to validMachineTypes --- rules/utils.go | 50 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) diff --git a/rules/utils.go b/rules/utils.go index 5a704b49..3e531e07 100644 --- a/rules/utils.go +++ b/rules/utils.go @@ -128,6 +128,56 @@ var validMachineTypes = map[string]bool{ "c4-highmem-48": true, "c4-highmem-96": true, "c4-highmem-192": true, + // C4D + "c4d-standard-2": true, + "c4d-standard-4": true, + "c4d-standard-8": true, + "c4d-standard-16": true, + "c4d-standard-32": true, + "c4d-standard-48": true, + "c4d-standard-64": true, + "c4d-standard-96": true, + "c4d-standard-192": true, + "c4d-standard-384": true, + "c4d-standard-384-metal": true, + "c4d-standard-8-lssd": true, + "c4d-standard-16-lssd": true, + "c4d-standard-32-lssd": true, + "c4d-standard-48-lssd": true, + "c4d-standard-64-lssd": true, + "c4d-standard-96-lssd": true, + "c4d-standard-192-lssd": true, + "c4d-standard-384-lssd": true, + "c4d-highcpu-2": true, + "c4d-highcpu-4": true, + "c4d-highcpu-8": true, + "c4d-highcpu-16": true, + "c4d-highcpu-32": true, + "c4d-highcpu-48": true, + "c4d-highcpu-64": true, + "c4d-highcpu-96": true, + "c4d-highcpu-192": true, + "c4d-highcpu-384": true, + "c4d-highcpu-384-metal": true, + "c4d-highmem-2": true, + "c4d-highmem-4": true, + "c4d-highmem-8": true, + "c4d-highmem-16": true, + "c4d-highmem-32": true, + "c4d-highmem-48": true, + "c4d-highmem-64": true, + "c4d-highmem-96": true, + "c4d-highmem-192": true, + "c4d-highmem-384": true, + "c4d-highmem-384-metal": true, + "c4d-highmem-8-lssd": true, + "c4d-highmem-16-lssd": true, + "c4d-highmem-32-lssd": true, + "c4d-highmem-48-lssd": true, + "c4d-highmem-64-lssd": true, + "c4d-highmem-96-lssd": true, + "c4d-highmem-192-lssd": true, + "c4d-highmem-384-lssd": true, // E2 "e2-micro": true, "e2-small": true,