{"id":19956999,"url":"https://github.com/anmolnagpal/terraform-eks","last_synced_at":"2025-05-03T21:30:28.505Z","repository":{"id":94619458,"uuid":"136470101","full_name":"anmolnagpal/terraform-eks","owner":"anmolnagpal","description":"Terraform for AWS EKS","archived":false,"fork":false,"pushed_at":"2019-03-24T10:04:56.000Z","size":43,"stargazers_count":81,"open_issues_count":1,"forks_count":40,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-07T21:12:03.970Z","etag":null,"topics":["aws","cluster","devops","eks","eks-cluster","hcl","kubectl","kubernetes","terraform"],"latest_commit_sha":null,"homepage":null,"language":"HCL","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/anmolnagpal.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-06-07T11:52:39.000Z","updated_at":"2024-07-28T10:37:59.000Z","dependencies_parsed_at":"2023-03-14T07:30:58.862Z","dependency_job_id":null,"html_url":"https://github.com/anmolnagpal/terraform-eks","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anmolnagpal%2Fterraform-eks","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anmolnagpal%2Fterraform-eks/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anmolnagpal%2Fterraform-eks/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anmolnagpal%2Fterraform-eks/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/anmolnagpal","download_url":"https://codeload.github.com/anmolnagpal/terraform-eks/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252259295,"owners_count":21719658,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["aws","cluster","devops","eks","eks-cluster","hcl","kubectl","kubernetes","terraform"],"created_at":"2024-11-13T01:36:17.253Z","updated_at":"2025-05-03T21:30:28.499Z","avatar_url":"https://github.com/anmolnagpal.png","language":"HCL","funding_links":["https://www.paypal.me/anmolnagpal"],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\u003cimg src=\"https://i.imgur.com/7994Qdm.png\" /\u003e\u003c/p\u003e\n\n\u003e Terraform module for simplified management of Kubernetes servers using EKS\n\n\u003cp align=\"center\"\u003e\n    \u003ca href=\"LICENSE.md\"\u003e\n      \u003cimg src=\"https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat-square\" alt=\"Software License\"\u003e\n    \u003c/a\u003e\n    \u003ca href=\"https://www.paypal.me/anmolnagpal\"\u003e\n      \u003cimg src=\"https://img.shields.io/badge/PayPal-Buy%20Me%20A%20BEER-blue.svg?style=flat-squares\" alt=\"Donate\"\u003e\n    \u003c/a\u003e\n  \u003c/p\u003e\n\u003c/p\u003e\n\n## 🔆 Highlights\n\n- **EKS Cluster** AWS managed Kubernetes cluster of master servers\n- **AutoScaling Group** contains 2 m4.large instances based on the latest EKS Amazon Linux 2 AMI\n- **Associated VPC, Internet Gateway, Security Groups, and Subnets** Operator managed networking resources for the EKS \nCluster and worker node instances\n- **Associated IAM Roles and Policies** Operator managed access resources for EKS and worker node instances\n\n### 🎨 Architecture\n\n\u003cp align=\"center\"\u003e\u003cimg src=\"https://i.imgur.com/0eJ3ZAP.png\" /\u003e\u003c/p\u003e\n\n### 🔰Getting Started\n\n\u003e Follow the steps below to get started\n\n#### 🔨 Setting Up Kubectl\n\nCreate a kubeconfig file for manging the EKS Cluster. \n\nLogin to your kubectl node and insert the codeblock to `.kube/config`\n\n\n```yml\napiVersion: v1\nclusters:\n- cluster:\n    server: EKS_ENDPOINT_URL\n    certificate-authority-data: BASE64_ENCODED_CA_CERT   \n  name: kubernetes\ncontexts:\n- context:\n    cluster: kubernetes\n    user: aws\n  name: aws\ncurrent-context: aws\nkind: Config\npreferences: {}\nusers:\n- name: aws\n  user:\n    exec:\n      apiVersion: client.authentication.k8s.io/v1alpha1\n      command: heptio-authenticator-aws\n      args:\n        - \"token\"\n        - \"-i\"\n        - \"CLUSTER_NAME\"\n        - \"-r\"\n        - \"\"\n ```\n\n\n\nReplace `EKS_ENDPOINT_URL` with your EKS Endpoint URL, `BASE64_ENCODED_CA_CERT` with `certificateAuthority` and `CLUSTER_NAME` with EKS Cluster name.\n\nSave the configuration file and execute following commands to use it.\n\n```sh\nexport KUBECONFIG=$KUBECONFIG:~/.kube/config\n\necho 'export KUBECONFIG=$KUBECONFIG:~/.kube/config' \u003e\u003e ~/.bashrc\n```\n\nNow test your configuration\n\n```sh\nkubectl get all\n```\n\nIf everything is fine, you will get your cluster details :)\n\n## 📚Refrence :\n- https://docs.aws.amazon.com/eks/latest/userguide/dashboard-tutorial.html\n- https://amazon-eks.s3-us-west-2.amazonaws.com/1.10.3/2018-06-05/amazon-eks-nodegroup.yaml\n\n## 👬 Contribution\n- Open pull request with improvements\n- Discuss ideas in issues\n\n- Reach out with any feedback [![Twitter URL](https://img.shields.io/twitter/url/https/twitter.com/anmol_nagpal.svg?style=social\u0026label=Follow%20%40anmol_nagpal)](https://twitter.com/anmol_nagpal)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanmolnagpal%2Fterraform-eks","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fanmolnagpal%2Fterraform-eks","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanmolnagpal%2Fterraform-eks/lists"}