Skip to content

Fix configure list ignoring --output flag#10480

Open
ShreeyashPatil2708 wants to merge 1 commit into
aws:developfrom
ShreeyashPatil2708:fix/configure-list-output
Open

Fix configure list ignoring --output flag#10480
ShreeyashPatil2708 wants to merge 1 commit into
aws:developfrom
ShreeyashPatil2708:fix/configure-list-output

Conversation

@ShreeyashPatil2708

Copy link
Copy Markdown

Problem

aws configure list ignores the --output flag and always renders
its custom tabular format regardless of what output format is specified.

Solution

Route non-default output formats through get_formatter(), consistent
with how other commands like eks get-token handle output formatting.
The default tabular format is preserved when --output is not specified
or is set to table.

Fixes #10477


Generated by AI tools, and reviewed by Shreeyash Patil

aws configure list always rendered its custom tabular format
regardless of the --output option passed by the user. The
command wrote directly to a stream with a hardcoded format
string instead of delegating to the output formatter.

This change routes non-default output formats through
get_formatter(), consistent with how other commands like
eks get-token handle output formatting. The default tabular
format is preserved when --output is not specified or is
set to table.

Fixes aws#10477
@ShreeyashPatil2708 ShreeyashPatil2708 requested a review from a team as a code owner July 8, 2026 18:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

aws configure list doesn't respect the --output switch

1 participant