From 8cad33079a4e9b08a7934cb8b937cd3305decd28 Mon Sep 17 00:00:00 2001 From: hoonoh <2078254+hoonoh@users.noreply.github.com> Date: Sat, 16 Nov 2024 00:16:14 +0000 Subject: [PATCH] fix: update constants --- src/constants/ec2-info.ts | 4 ---- test/__snapshots__/cli.spec.ts.snap | 28 +--------------------------- 2 files changed, 1 insertion(+), 31 deletions(-) diff --git a/src/constants/ec2-info.ts b/src/constants/ec2-info.ts index 0e7b3065..0b1098d1 100644 --- a/src/constants/ec2-info.ts +++ b/src/constants/ec2-info.ts @@ -219,10 +219,6 @@ export const ec2Info: Record<_InstanceType | string, Ec2InstanceInfo> = { 'f1.16xlarge': { vCpu: 64, memoryGiB: 976, architectures: ['x86_64'] }, 'f1.2xlarge': { vCpu: 8, memoryGiB: 122, architectures: ['x86_64'] }, 'f1.4xlarge': { vCpu: 16, memoryGiB: 244, architectures: ['x86_64'] }, - 'g3.16xlarge': { vCpu: 64, memoryGiB: 488, architectures: ['x86_64'] }, - 'g3.4xlarge': { vCpu: 16, memoryGiB: 122, architectures: ['x86_64'] }, - 'g3.8xlarge': { vCpu: 32, memoryGiB: 244, architectures: ['x86_64'] }, - 'g3s.xlarge': { vCpu: 4, memoryGiB: 30.5, architectures: ['x86_64'] }, 'g4ad.16xlarge': { vCpu: 64, memoryGiB: 256, architectures: ['x86_64'] }, 'g4ad.2xlarge': { vCpu: 8, memoryGiB: 32, architectures: ['x86_64'] }, 'g4ad.4xlarge': { vCpu: 16, memoryGiB: 64, architectures: ['x86_64'] }, diff --git a/test/__snapshots__/cli.spec.ts.snap b/test/__snapshots__/cli.spec.ts.snap index a11d673e..7e6d8f39 100644 --- a/test/__snapshots__/cli.spec.ts.snap +++ b/test/__snapshots__/cli.spec.ts.snap @@ -125,33 +125,7 @@ exports[`cli test by import should handle JSON output option 1`] = ` ]" `; -exports[`cli test by import should handle architecture option 1`] = ` -"╔══════════╤════════╤════════════╤══════════════╤═══════════════════╗ -║ Type │ Price │ Platform │ Architecture │ Availability Zone ║ -╟──────────┼────────┼────────────┼──────────────┼───────────────────╢ -║ t3.nano │ 0.0010 │ Linux/UNIX │ x86_64 │ us-west-2a ║ -║ t3.nano │ 0.0010 │ Linux/UNIX │ x86_64 │ us-west-2b ║ -║ t3.nano │ 0.0012 │ Linux/UNIX │ x86_64 │ us-west-2c ║ -║ t3.nano │ 0.0012 │ Linux/UNIX │ x86_64 │ us-west-2d ║ -║ t3a.nano │ 0.0012 │ Linux/UNIX │ x86_64 │ us-west-2d ║ -║ t3a.nano │ 0.0013 │ Linux/UNIX │ x86_64 │ ap-south-1b ║ -║ t3.micro │ 0.0014 │ Linux/UNIX │ x86_64 │ us-west-2a ║ -║ t3.micro │ 0.0015 │ Linux/UNIX │ x86_64 │ us-west-2c ║ -║ t3.micro │ 0.0015 │ Linux/UNIX │ x86_64 │ us-west-2d ║ -║ t3.nano │ 0.0015 │ Linux/UNIX │ x86_64 │ us-east-2c ║ -║ t3a.nano │ 0.0015 │ Linux/UNIX │ x86_64 │ ap-south-1a ║ -║ t3a.nano │ 0.0015 │ Linux/UNIX │ x86_64 │ ap-south-1c ║ -║ t3.nano │ 0.0016 │ Linux/UNIX │ x86_64 │ ap-northeast-3c ║ -║ t3.nano │ 0.0016 │ Linux/UNIX │ x86_64 │ ap-southeast-1a ║ -║ t3.nano │ 0.0016 │ Linux/UNIX │ x86_64 │ ap-southeast-1b ║ -║ t3.nano │ 0.0017 │ Linux/UNIX │ x86_64 │ ap-northeast-3a ║ -║ t3.nano │ 0.0017 │ Linux/UNIX │ x86_64 │ ap-south-1b ║ -║ t3.nano │ 0.0017 │ Linux/UNIX │ x86_64 │ ap-southeast-1c ║ -║ t3.nano │ 0.0017 │ Linux/UNIX │ x86_64 │ sa-east-1a ║ -║ t3.nano │ 0.0017 │ Linux/UNIX │ x86_64 │ us-east-2a ║ -╚══════════╧════════╧════════════╧══════════════╧═══════════════════╝ -" -`; +exports[`cli test by import should handle architecture option 1`] = `"no matching records found"`; exports[`cli test by import should handle instance family option 1`] = ` "╔═════════════╤════════╤════════════╤══════════════╤═══════════════════╗