aws-cli
aws-cli copied to clipboard
aws configure list-profiles doesn't respect the --output option
Describe the bug
The documentation indicates that --output is supported but it seems to be ignored.
Expected Behavior
Something like for aws eks list-clusters:
$ aws configure list-profiles --output json
{
"profiles": [
"profile1",
"profile2"
]
}
Current Behavior
$ aws configure list-profiles --output json
profile1
profile2
Reproduction Steps
see current behaviour. Other output formats seem to be ignored as well. Also, for other commands, like list.
Possible Solution
If it's intentional then fix docs?
Additional Information/Context
No response
CLI version used
aws-cli/2.7.35 Python/3.9.11 Darwin/20.6.0 exe/x86_64 prompt/off
Environment details (OS name and version, etc.)
macos Big Sur 11.6.7
Hi @jim-docker, thanks for raising this issue. I can confirm that I was able to reproduce the same behavior and will investigate further with the team.
Hi @jim-docker - after reviewing it with the team, I created a corresponding backlog item for the team to further investigate and implement the fix. Since this isn't a business critical, we can't provide the timeline or guarantee when the fix would be implemented. I'm going to keep this issue open for tracking. Again, we appreciate your time and thank you for bringing this to our attention.
Still present in aws-cli/2.11.16 Python/3.11.3 Linux/5.19.0-45-generic exe/x86_64.ubuntu.22 prompt/off, just an FYI.
Any updates? How can user fetch information for automated tests?
Any updates here?
Seems like a simple fix. Can we have, please?
Upvoting.
how can this still be open?