소스 검색

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",
   "cache.t4g.micro",
   "cache.t4g.medium",
-  "cache.r7g.large",
-  "cache.r7g.xlarge",
+  "cache.r6g.large",
+  "cache.r6g.xlarge",
 ]);
 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,
       },
       {
-        tier: "cache.r7g.large" as const,
+        tier: "cache.r6g.large" as const,
         label: "Large",
         cpuCores: 2,
         ramGigabytes: 13,
         storageGigabytes: 0,
       },
       {
-        tier: "cache.r7g.xlarge" as const,
+        tier: "cache.r6g.xlarge" as const,
         label: "Extra Large",
         cpuCores: 4,
         ramGigabytes: 26,