output text doesn't return same results as json output #9273
Labels
bug
This issue is a bug.
closed-for-staleness
p3
This is a minor priority issue
response-requested
Waiting on additional info and feedback. Will move to "closing-soon" in 7 days.
Describe the bug
Wanting to get the first element in the list of CommandId based on the query I built. JSON output looks good initially and shows the two Ids. I add the
| [0]
to get the first element and that looks good with json output. Add--output text
and the second id shows back up.Regression Issue
Expected Behavior
The number of elements returned with text output matches the json output
Current Behavior
All elements are returned instead of only the first one
Reproduction Steps
Described in description.
Possible Solution
No response
Additional Information/Context
No response
CLI version used
2.17.29
Environment details (OS name and version, etc.)
aws-cli/2.17.29 Python/3.11.9 Linux/5.15.167.4-microsoft-standard-WSL2 exe/x86_64.ubuntu.24
The text was updated successfully, but these errors were encountered: