e9-cloudformation-docker-ecs icon indicating copy to clipboard operation
e9-cloudformation-docker-ecs copied to clipboard

aws ecr get-login --no-include-email | sh - aws: error: argument operation: Invalid choice

Open bigoper opened this issue 3 years ago • 1 comments

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

bigoper avatar Nov 29 '22 03:11 bigoper

NOTE

This command is deprecated. Use get-login-password instead.

bigoper avatar Nov 29 '22 03:11 bigoper