Skip to content

skarampudi/terraform-aws-eks-addons

Repository files navigation

terraform-aws-eks-addons

Terraform module for aws eks addons

A terraform module to deploy all addons using helm charts. Inspired by and adapted from https://eksworkshop.com/ and Terraform Module https://registry.terraform.io/modules/terraform-aws-modules/eks/aws/7.0.0.

Usage example

module "my-cluster" {
  source          = "terraform-aws-modules/eks/aws"
  cluster_name    = "my-cluster"
  cluster_version = "1.14"
  subnets         = ["subnet-abcde012", "subnet-bcde012a", "subnet-fghi345a"]
  vpc_id          = "vpc-1234556abcdef"

  worker_groups = [
    {
      instance_type = "m4.large"
      asg_max_size  = 5
    }
  ]
}

module "addons" {
  source          = "git@github.com:skarampudi/terraform-aws-eks-addons.git"
  cluster_name    = "module.eks.cluster_id"
  vpc_id          = "vpc-1234556abcdef"
}

Inputs

Name Description Type Default Required
cluster_name The name of the EKS cluster. string n/a yes
vpc_id VPC where the cluster and workers will be deployed. string n/a yes

Outputs

Name Description
aws_alb_ingress_controller_helm_release_metadata Block status of the deployed aws-alb-ingress-controller helm release.
aws_xray_daemon_helm_release_metadata Block status of the deployed fluentd-cloudwatch helm release.
cloudwatch_agent_helm_release_metadata Block status of the deployed fluentd-cloudwatch helm release.
external_dns_helm_release_metadata Block status of the deployed external-dns helm release.
fluentd_cloudwatch_helm_release_metadata Block status of the deployed fluentd-cloudwatch helm release.