Przeglądaj źródła

add extra small datastore type (#4488)

Feroze Mohideen 2 lat temu
rodzic
commit
0ad3a249f5

+ 1 - 0
dashboard/src/lib/databases/types.ts

@@ -168,6 +168,7 @@ export type DatastoreTemplate = {
 
 const instanceTierValidator = z.enum([
   "unspecified",
+  "db.t4g.micro",
   "db.t4g.small",
   "db.t4g.medium",
   "db.t4g.large",

+ 7 - 0
dashboard/src/main/home/database-dashboard/constants.ts

@@ -36,6 +36,13 @@ export const SUPPORTED_DATASTORE_TEMPLATES: DatastoreTemplate[] = [
       "Amazon Relational Database Service (RDS) is a web service that makes it easier to set up, operate, and scale a relational database in the cloud.",
     disabled: false,
     instanceTiers: [
+      {
+        tier: "db.t4g.micro" as const,
+        label: "Micro",
+        cpuCores: 2,
+        ramGigabytes: 1,
+        storageGigabytes: 20,
+      },
       {
         tier: "db.t4g.small" as const,
         label: "Small",