私は、pip経由でインストールされたaws cliの最新バージョンを使用していました(そして、以後、1.10.19にダウングレードしてから、次のコマンドを実行できます)。aws cliがecrコマンドを実行できません
ecr aws ecr get-login
にレポを作成した後にプロンプトを実行しようとしていますが、aws cliがecrが無効な選択であると言っています。前述のように、私のチームの他の開発者はaws cliを通してこのコマンドにアクセスできます。私は、cliコマンドを使ってそのオプションを見ることさえできないことを示唆するIAMの迫害について何も見ていない。
提案がありますか?
EXACTエラー:あなたのAWS CLIツールのインストールを更新する必要が
usage: aws [options] <command> <subcommand> [parameters]
aws: error: argument command: Invalid choice, valid choices are:
autoscaling | cloudformation
cloudfront | cloudhsm
cloudsearch | cloudsearchdomain
cloudtrail | cloudwatch
codecommit | codepipeline
cognito-identity | cognito-sync
datapipeline | devicefarm
directconnect | ds
dynamodb | dynamodbstreams
ec2 | ecs
efs | elasticache
elasticbeanstalk | elastictranscoder
elb | emr
glacier | iam
importexport | kinesis
kms | lambda
logs | machinelearning
opsworks | rds
redshift | route53
route53domains | sdb
ses | sns
sqs | ssm
storagegateway | sts
support | swf
workspaces | s3api
s3 | configure
deploy | configservice
help
aws -versionがaws-cli/1.11.45を表示していて、うまく動作します。 – jarmod
バージョン:aws-cli/1.2.9と同じ問題ですが、バージョン 'aws-cli/1.11.126'で動作します。 – kev