When trying to run the get-login-password command in aws ecr, I get a message saying it's an invalid choice:
$ aws --region=us-west-1 ecr get-login-password
usage: aws [options] <command> <subcommand> [<subcommand> ...] [parameters]
To see help text, you can run:
aws help
aws <command> help
aws <command> <subcommand> help
aws: error: argument operation: Invalid choice, valid choices are:
batch-check-layer-availability | batch-delete-image
batch-get-image | complete-layer-upload
create-repository | delete-lifecycle-policy
delete-repository | delete-repository-policy
describe-images | describe-repositories
get-authorization-token | get-download-url-for-layer
get-lifecycle-policy | get-lifecycle-policy-preview
get-repository-policy | initiate-layer-upload
list-images | put-image
put-lifecycle-policy | set-repository-policy
start-lifecycle-policy-preview | upload-layer-part
get-login | help
Is this a Mac-only tool? ECR does seem to be installed but the issue is get-login-password. I installed the latest AWS client via these instructions https://docs.aws.amazon.com/cli/latest/userguide/install-cliv2-linux.html