瀏覽代碼

fix cache instance types (#4247)

Feroze Mohideen 2 年之前
父節點
當前提交
fb08a453f5
共有 2 個文件被更改,包括 4 次插入 和 4 次删除
  1. 2 2
      dashboard/src/lib/databases/types.ts
  2. 2 2
      dashboard/src/main/home/database-dashboard/constants.ts

+ 2 - 2
dashboard/src/lib/databases/types.ts

@@ -156,8 +156,8 @@ const instanceTierValidator = z.enum([
   "db.t4g.large",
   "db.t4g.large",
   "cache.t4g.micro",
   "cache.t4g.micro",
   "cache.t4g.medium",
   "cache.t4g.medium",
-  "cache.r7g.large",
-  "cache.r7g.xlarge",
+  "cache.r6g.large",
+  "cache.r6g.xlarge",
 ]);
 ]);
 export type InstanceTier = z.infer<typeof instanceTierValidator>;
 export type InstanceTier = z.infer<typeof instanceTierValidator>;
 
 

+ 2 - 2
dashboard/src/main/home/database-dashboard/constants.ts

@@ -128,14 +128,14 @@ export const SUPPORTED_DATASTORE_TEMPLATES: DatastoreTemplate[] = [
         storageGigabytes: 0,
         storageGigabytes: 0,
       },
       },
       {
       {
-        tier: "cache.r7g.large" as const,
+        tier: "cache.r6g.large" as const,
         label: "Large",
         label: "Large",
         cpuCores: 2,
         cpuCores: 2,
         ramGigabytes: 13,
         ramGigabytes: 13,
         storageGigabytes: 0,
         storageGigabytes: 0,
       },
       },
       {
       {
-        tier: "cache.r7g.xlarge" as const,
+        tier: "cache.r6g.xlarge" as const,
         label: "Extra Large",
         label: "Extra Large",
         cpuCores: 4,
         cpuCores: 4,
         ramGigabytes: 26,
         ramGigabytes: 26,