Skip to content

Latest commit

 

History

History

cluster

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

cluster

This is top level module creates vpc, subnets and eks cluster by calling vpc_and_subnets and eks modules.

Summary

This module creates following resources -

  • VPC
  • Subnets (3 public and 3 private)
  • 1 NAT Gateway per AZ with corresponding Elasic IPs
  • Internet Gateway
  • Public and Private Route tables
  • EKS Cluster with OIDC Provider
  • EKS Managed AddOns
    • coredns
    • vpc-cni
    • kube-proxy
  • EKS Managed node group

Requirements

Name Version
aws 5.6.2

Providers

Name Version
aws 5.6.2

Modules

Name Source Version
eks_with_node_group eks n/a
vpc_with_subnets vpc_and_subnets n/a

Inputs

Name Description Type Default Required
eks_cluster_name eks cluster name string n/a yes
k8s_version kubernetes version string "1.27" no
vpc_cidr vpc cidr block to be used string "10.0.0.0/16" no
vpc_name name of the vpc to be created string "platformwale" no

Outputs

Name Description
cluster_certificate_authority_data Base64 encoded certificate data required to communicate with the cluster
cluster_endpoint Endpoint for your Kubernetes API server
cluster_oidc_issuer_url The URL on the EKS cluster for the OpenID Connect identity provider
private_subnets List of IDs of private subnets
public_subnets List of IDs of public subnets
vpc_id The ID of the VPC