Skip to content

HadadAvsha/Terraform-EKS

Repository files navigation

image image image image image
This is a simple Kubernetes doployment of ArgoCD (using Helm) in Elastic Kubernetes Service(EKS) using Terraform

We will use:

  • 3 AZs in total, 1 for each subnet. (make sure your region correspond with said AZs).
  • 3 tf modules: Network, EKS and Helm-charts.
  • Uncomment private_subnets.tf if you would like to use private subnet/s.
  • Delete/commentout Helm-charts/ebs-csi-driver if youre not intending to use PVC.

Prerequisites:

  • In order to Deploy this template you will need to install Terraform and make sure to have AWS CLI and your ~/.aws/credentials set or use this guide.
  • Change variables in: variables.tf and terraform.tfvars accordingly.
  • Configure CNI in AWS in order to have PVCs.
  • In provider.tf modify backend to fit your bucket or delete the block for local backend.

Requirements

Name Version
argocd 0.4.7
aws ~> 4.31.0
helm ~> 2.7.1
kubernetes ~> 2.15.0

Providers

No providers.

Modules

Name Source Version
EKS ./EKS n/a
Helm-charts ./Helm-charts n/a
Network ./Network n/a

Resources

No resources.

Inputs

Name Description Type Default Required
azs Availability Zones list(string)
[
"us-west-2a",
"us-west-2b",
"us-west-2c"
]
no
cluster_name n/a string "Avsha-EKS-cluster" no
node_group n/a string "Avsha-EKS-workernodes" no
prefix enter the name for your cluster string "Avsha-EKS" no
public_subnet_cidrs n/a list(string)
[
"10.0.1.0/24",
"10.0.2.0/24",
"10.0.3.0/24"
]
no

Outputs

No outputs.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages