Imagebuilder command cannot receive all images #8980
Labels
bug
This issue is a bug.
ec2
p2
This is a standard priority issue
service-api
This issue is due to a problem in a service API, not the SDK implementation.
Describe the bug
aws imagebuilder list-images
command always returns nextToken causing it to not get all images from ec2 image builder.I found that it is getting stopped after 25 results and then it sends back nextToken no matter what option I use. So, I tried to filter it with
--query
like belowand even though I have less than 20 images with that version, it showed only 3 images in the result.
Next I tried using
--filters
option and it still returned only 3 results with nextTokenIn summary, I used all options and still cannot return my version = 2024.10.15 images in cli.
P.S. Just a suggestion – the global
--no-paginate
option could really benefit from a different name. Many people assume that using this option means pagination is disabled and that all results will be returned in one go. AlthoughRegression Issue
Expected Behavior
It should return 20 images
Current Behavior
I tried all options and still cannot return my version = 2024.10.15 images when using aws cli.
Reproduction Steps
Possible Solution
No response
Additional Information/Context
No response
CLI version used
aws-cli/2.17.13 Python/3.11.9 Linux/5.15.153.1-microsoft-standard-WSL2 exe/x86_64.ubuntu.22
Environment details (OS name and version, etc.)
Ubuntu in wsl
The text was updated successfully, but these errors were encountered: