Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: update constants #949

Merged
merged 1 commit into from
Nov 16, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading