e9-cloudformation-docker-ecs
e9-cloudformation-docker-ecs copied to clipboard
aws ecr get-login --no-include-email | sh - aws: error: argument operation: Invalid choice
ISSUE
The following command is not valid.
aws ecr get-login --no-include-email | sh
ERROR
% aws ecr get-login --no-include-email
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
ENVIRONMENT
$ aws --version
aws-cli/2.9.1 Python/3.9.11 Darwin/21.5.0 exe/x86_64 prompt/off
NOTE
This command is deprecated. Use get-login-password instead.