I am trying to update kubeconfig file using the below mentioned CLI
aws eks update-kubeconfig --name EKS_cluster
It is giving me this error
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, valid choices are:
create-cluster | delete-cluster
describe-cluster | list-clusters
help
The was cli version I am using is
aws-cli/1.15.58 Python/3.5.2 Linux/5.3.0-1030-aws botocore/1.10.57
Can someone help me with this?