-
Notifications
You must be signed in to change notification settings - Fork 103
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
Add a "truncated" message to stderr if instance types > Max Results #54
Comments
Hey @chimerab , I believe the problem is that the results have been truncated. The default of If you do:
It might be a good idea for the tool to print on stderr if the results were truncated to max-results, what do you think? |
Hi bwagner5 , I think it's my mistake not read the whole help doc. let's keep the current design unless more people ignored the --max-result like me. |
I still think it would be helpful to log on stderr. I wrote the tool and I've definitely stared at the output asking why an instance type wasn't there only to realize it was truncated :D |
Use latest release, r5.xlarge have 4 vcpu ,32gb memory , it should list by below criteria but it's not.
$ ./ec2-instance-selector-linux-amd64 --vcpus 4 --memory-min 8 -a x86_64
c5.xlarge
c5a.xlarge
c5d.xlarge
c5n.xlarge
d2.xlarge
g3s.xlarge
g4dn.xlarge
i2.xlarge
i3.xlarge
i3en.xlarge
inf1.xlarge
m1.xlarge
m2.2xlarge
m3.xlarge
m4.xlarge
m5.xlarge
m5a.xlarge
m5ad.xlarge
m5d.xlarge
m5dn.xlarge
$ ./ec2-instance-selector-linux-amd64 --vcpus 4 --memory-min 16 -a x86_64
d2.xlarge
g3s.xlarge
g4dn.xlarge
i2.xlarge
i3.xlarge
i3en.xlarge
m2.2xlarge
m4.xlarge
m5.xlarge
m5a.xlarge
m5ad.xlarge
m5d.xlarge
m5dn.xlarge
m5n.xlarge
p2.xlarge
r3.xlarge
r4.xlarge
r5.xlarge
r5a.xlarge
r5ad.xlarge
with same logic the --vcpu-min works well. Is it design like this?
The text was updated successfully, but these errors were encountered: