Skip to content

Terraform artifacts to create EKS Cluster with Worker Nodes

License

Notifications You must be signed in to change notification settings

srinub/terraform-eks

Repository files navigation

terraform-eks

Terraform artifacts to create EKS Cluster with Worker Nodes

Pre-requisites

  1. Install and Configure AWS CLI

  2. Install kubectl (AWS EKS Version)

  3. Install AWS Authenticator for EKS

Usage

  1. Download required plugins (AWS in this case)
terraform init
  1. See the list of resources going to be created
terraform plan
  1. Create EKS Cluster along with Worker Nodes and dependent resources.
terraform apply -auto-approve
  1. Create a KubeConfig File
terraform output kubeconfig >> Config
  1. Create config_map_aws_auth.yaml which adds Worker Nodes to EKS Cluster
terraform output config_map_aws_auth >> config_map_aws_auth.yaml
  1. Add Worker Nodes to EKS Cluster
kubectl apply -f config_map_aws_auth.yaml

Delete Resources

terraform destroy -force

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

License

Apache

About

Terraform artifacts to create EKS Cluster with Worker Nodes

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages