2017-02-08 14 views
0

私は、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  
+0

aws -versionがaws-cli/1.11.45を表示していて、うまく動作します。 – jarmod

+0

バージョン:aws-cli/1.2.9と同じ問題ですが、バージョン 'aws-cli/1.11.126'で動作します。 – kev

答えて

1

aws --versionを実行すると、現在インストールされているバージョンを確認できます。

+0

自宅通しで完全に再インストールし、問題を解決しました。 – Erik

関連する問題