Skip to content

NashTech-Labs/EKS_Terraform_Module

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

2 Commits
ย 
ย 
ย 
ย 

Repository files navigation

Terraform EKS Module

A reusable Terraform module to provision a public and scalable Amazon EKS cluster with required IAM roles (for cluster and nodes), managed node groups, networking configuration, and core Kubernetes addons.


Prerequisites

Before using this module, ensure the following are installed:

  • Terraform
  • Configured AWS credentials to authenticate terraform with AWS using command - aws configure
  • kubectl (optional, for cluster access)

Getting Started

1. Clone the repository

git clone https://github.com/NashTech-Labs/EKS_Terraform_Module.git

2. Navigate to the EKS module directory

cd EKS

3. Initialize Terraform

terraform init

4. Review the execution plan

terraform plan

5. Apply the configuration

terraform apply

Type yes when prompted to create the infrastructure.


Infrastructure Created

This module provisions:

  • IAM roles and policies required for EKS cluster and nodes
  • Amazon EKS cluster
  • Managed node group
  • VPC networking configuration
  • Core EKS addons (VPC CNI, CoreDNS, kube-proxy)

๐Ÿ”— Connect to the Cluster

After successful deployment:

aws eks update-kubeconfig --region <region> --name <cluster-name>
kubectl get nodes

Destroy Infrastructure

To remove all created resources:

terraform destroy

About

A reusable Terraform module that provisions a Amazon EKS cluster with required IAM roles, managed node groups, networking, and core Kubernetes addons

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages