Skip to content

[v2] Add profile and role sorting to sso configure#10149

Merged
kdaily merged 6 commits intoaws:v2from
kdaily:sso-configure-sorting
Apr 3, 2026
Merged

[v2] Add profile and role sorting to sso configure#10149
kdaily merged 6 commits intoaws:v2from
kdaily:sso-configure-sorting

Conversation

@kdaily
Copy link
Copy Markdown
Member

@kdaily kdaily commented Mar 23, 2026

Issue #, if available:

#6108

Description of changes:

Continuation of #6205. Updates tests to conform to new test suite, refactors sorting method.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

ryansonshine and others added 4 commits June 3, 2021 13:49
This change adds sorting to profiles and roles when running
`aws sso configure` listing them in ascending alphabetical
order by default (case insensitive).
Newly added tests were accidentally merged into the wrong location. This
puts them under the right test class (`TestConfigureSSOCommand`).
This takes into account email address as well, which is used when printing the output.
@RyanFitzSimmonsAK RyanFitzSimmonsAK linked an issue Mar 25, 2026 that may be closed by this pull request
@ashovlin ashovlin self-assigned this Mar 27, 2026
ashovlin
ashovlin previously approved these changes Apr 1, 2026
kdaily added 2 commits April 1, 2026 12:12
The existing tests were written using the old unittest framework. This
change updates them to use the newer pytest/fixture framework. It also
adds tests for sorting the accounts by account ID and email address.
Refactor shared setup for account sorting tests into a reusable fixture
to improve readability and reduce repeated boilerplate.
@kdaily kdaily merged commit 477fb12 into aws:v2 Apr 3, 2026
160 of 164 checks passed
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.

Sort accounts in aws configure sso

3 participants