aws / aws-cli

Universal Command Line Interface for Amazon Web Services
Other
15.54k stars 4.13k forks source link

Sort accounts in aws configure sso #6108

Open krzysztof-magosa opened 3 years ago

krzysztof-magosa commented 3 years ago

Is your feature request related to a problem? Please describe. At the moment aws configure sso displays select box with all accounts in random order. This is problematic having hundreds of accounts.

Describe alternatives you've considered Search functionality would be even better, but sorting still makes sense.

Describe the solution you'd like Alphabetic ordering would be great.

kdaily commented 3 years ago

Thanks for the feature request, @krzysztof-magosa.

ryansonshine commented 3 years ago

@kdaily , is the aws team open to a PR for this?

ryansonshine commented 3 years ago

@krzysztof-magosa , I went ahead and made the assumption that we would want case-insensitive sorting on PR #6205 . If you had other ideas though I'm open to hearing them.

kdaily commented 3 years ago

Thanks @ryansonshine, We'll take a look and review.

ruicovelo commented 2 years ago

Yes, sorting helps... But I have thousands of accounts to go through. So for me, search is the way to go. I can't use it any other way.

LozanoMatheus commented 1 year ago

Can we add the sort in the roles as well? I also thought about having the --account-id as a parameter in the CLI, should it be in a new feature request or ...?