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

Instance Filtering not working? #871

Closed
mmg10 opened this issue Jun 23, 2024 · 3 comments · Fixed by #938
Closed

Instance Filtering not working? #871

mmg10 opened this issue Jun 23, 2024 · 3 comments · Fixed by #938
Labels

Comments

@mmg10
Copy link

mmg10 commented Jun 23, 2024

Hi, the tool is no longer working. e.g. I try to filter for only G6 instances, but it is showing other instances too. This also happens if I use via the --ui argument.
image

@hoonoh
Copy link
Owner

hoonoh commented Oct 24, 2024

Hi, thanks for reporthing this and sorry for late x late reply 🙏

I had a brief look into this issue and it seems #842 had introduced this bug.
I will try fixing this bug ASAP and add unit tests to prevent this in future.

@hoonoh
Copy link
Owner

hoonoh commented Oct 24, 2024

🎉 This issue has been resolved in version 1.1.26 🎉

The release is available on:

Your semantic-release bot 📦🚀

@hoonoh
Copy link
Owner

hoonoh commented Oct 24, 2024

@mmg10 please checkout v1.1.26

❯ npx aws-spot-price -f g6 -r us-west-2 --raz false -w
✔ All data retrieved!
╔═════════════╤════════╤══════╤═════╤════════════╤══════════════╤═══════════════════╤══════════════════╗
║ Type        │  Price │ vCPU │ RAM │ Platform   │ Architecture │ Availability Zone │ Region           ║
╟─────────────┼────────┼──────┼─────┼────────────┼──────────────┼───────────────────┼──────────────────╢
║ g6.xlarge   │ 0.3109 │    4 │  16 │ Linux/UNIX │ x86_64       │ us-west-2b        │ US West (Oregon) ║
║ g6.xlarge   │ 0.3229 │    4 │  16 │ Linux/UNIX │ x86_64       │ us-west-2c        │ US West (Oregon) ║
║ g6.xlarge   │ 0.3340 │    4 │  16 │ Linux/UNIX │ x86_64       │ us-west-2d        │ US West (Oregon) ║
║ g6.2xlarge  │ 0.4196 │    8 │  32 │ Linux/UNIX │ x86_64       │ us-west-2d        │ US West (Oregon) ║
║ g6.2xlarge  │ 0.4360 │    8 │  32 │ Linux/UNIX │ x86_64       │ us-west-2c        │ US West (Oregon) ║
║ g6.2xlarge  │ 0.4473 │    8 │  32 │ Linux/UNIX │ x86_64       │ us-west-2b        │ US West (Oregon) ║
║ g6.4xlarge  │ 0.5319 │   16 │  64 │ Linux/UNIX │ x86_64       │ us-west-2b        │ US West (Oregon) ║
║ g6.4xlarge  │ 0.5485 │   16 │  64 │ Linux/UNIX │ x86_64       │ us-west-2c        │ US West (Oregon) ║
║ g6.4xlarge  │ 0.5696 │   16 │  64 │ Linux/UNIX │ x86_64       │ us-west-2d        │ US West (Oregon) ║
║ g6.8xlarge  │ 0.6773 │   32 │ 128 │ Linux/UNIX │ x86_64       │ us-west-2c        │ US West (Oregon) ║
║ g6.8xlarge  │ 0.7134 │   32 │ 128 │ Linux/UNIX │ x86_64       │ us-west-2b        │ US West (Oregon) ║
║ g6.8xlarge  │ 0.7175 │   32 │ 128 │ Linux/UNIX │ x86_64       │ us-west-2d        │ US West (Oregon) ║
║ g6.16xlarge │ 0.9645 │   64 │ 256 │ Linux/UNIX │ x86_64       │ us-west-2d        │ US West (Oregon) ║
║ g6.16xlarge │ 1.2465 │   64 │ 256 │ Linux/UNIX │ x86_64       │ us-west-2b        │ US West (Oregon) ║
║ g6.16xlarge │ 1.3005 │   64 │ 256 │ Linux/UNIX │ x86_64       │ us-west-2c        │ US West (Oregon) ║
║ g6.12xlarge │ 1.9318 │   48 │ 192 │ Linux/UNIX │ x86_64       │ us-west-2c        │ US West (Oregon) ║
║ g6.12xlarge │ 2.0111 │   48 │ 192 │ Linux/UNIX │ x86_64       │ us-west-2b        │ US West (Oregon) ║
║ g6.12xlarge │ 2.0345 │   48 │ 192 │ Linux/UNIX │ x86_64       │ us-west-2d        │ US West (Oregon) ║
║ g6.24xlarge │ 2.4806 │   96 │ 384 │ Linux/UNIX │ x86_64       │ us-west-2d        │ US West (Oregon) ║
║ g6.24xlarge │ 3.9333 │   96 │ 384 │ Linux/UNIX │ x86_64       │ us-west-2c        │ US West (Oregon) ║
║ g6.24xlarge │ 4.2969 │   96 │ 384 │ Linux/UNIX │ x86_64       │ us-west-2b        │ US West (Oregon) ║
║ g6.48xlarge │ 6.3012 │  192 │ 768 │ Linux/UNIX │ x86_64       │ us-west-2b        │ US West (Oregon) ║
║ g6.48xlarge │ 7.4256 │  192 │ 768 │ Linux/UNIX │ x86_64       │ us-west-2d        │ US West (Oregon) ║
║ g6.48xlarge │ 8.1570 │  192 │ 768 │ Linux/UNIX │ x86_64       │ us-west-2c        │ US West (Oregon) ║
╚═════════════╧════════╧══════╧═════╧════════════╧══════════════╧═══════════════════╧══════════════════╝

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants