## Use `aws eks get-token` instead of `aws-iam-authenticator` Since AWS CLI version 1.16.156, `aws-iam-authenticator` is no longer needed to obtain an auth token for the EKS cluster. This can be performed using `awscli` directly with `aws eks get-token`. [(reference)](https://docs.aws.amazon.com/eks/latest/userguide/install-aws-iam-authenticator.html) I propose changing the default value of `kubeconfig_aws_authenticator_command` and `kubeconfig_aws_authenticator_command_args` to: ```hcl kubeconfig_aws_authenticator_command = "aws" kubeconfig_aws_authenticator_command_args = [ "--region", data.aws_region.this.name, "eks", "get-token", "--cluster-name", local.cluster_name ] } ``` ## I'm submitting a... * [ ] bug report * [x] feature request * [ ] support request - read the [FAQ](https://github.com/terraform-aws-modules/terraform-aws-eks/blob/master/docs/faq.md) first! * [ ] kudos, thank you, warm fuzzy ## What is the current behavior? External dependency on `aws-iam-authenticator` tool causes `terraform apply` to fail when not installed. This dependency is not clearly indicated in the readme. ## If this is a bug, how to reproduce? Please include a code sample if relevant. Using this module without having installed `aws-iam-authenticator` will throw an error while provisioning the cluster. ## What's the expected behavior? No external dependency on `aws-iam-authenticator`. ## Are you able to fix this problem and submit a PR? Link here if you have already. Yes ## Environment details * Affected module version: **v10.0.0** * OS: **Mac OS Catalina 10.15.4** * Terraform version: **v0.12.26** ## Any other relevant info I'm not sure which tool is more common for this purpose, but our team uses `awscli` whenever possible. Since this functionality is now present in `awscli >= 1.16.156` (we are using `v2.0.19`), it might be worthwhile to use it instead of `aws-iam-authenticator`. In any case, whether depending on `awscli` or `aws-iam-authenticator`, it might be a good idea to clearly indicate external dependencies in the module readme.