Creating Cluster-EKS using Terraform
- AWS Account
- IAM User( AmazonEKSCluster ploicy & Admission Control) Save Access Key & Secret keys. Later Configure to your terminal(aws configure)
- AWS CLI
- Terraform
- Kubectl
- update the ~/.kube/config file for the cluster and automatically configure kubectl so that you can connect to the EKS Cluster using the kubectl command.
- aws eks update-kubeconfig --region --name
- aws eks –region
$(terraform output -raw region) update-kubeconfig –name $ (terraform output -raw cluster_name)