Skip to content

Commit

Permalink
fix: update constants (#949)
Browse files Browse the repository at this point in the history
  • Loading branch information
hoonoh authored Nov 16, 2024
1 parent 81d4048 commit 3573f9d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 31 deletions.
4 changes: 0 additions & 4 deletions src/constants/ec2-info.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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'] },
Expand Down
28 changes: 1 addition & 27 deletions test/__snapshots__/cli.spec.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -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`] = `
"╔═════════════╤════════╤════════════╤══════════════╤═══════════════════╗
Expand Down

0 comments on commit 3573f9d

Please sign in to comment.