Skip to content

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

@bigoper

Description

@bigoper

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions