eks
codezenith/eks/aws
AWS EKS template
Install
README
EKS Terraform Template This Elastic Kubernetes Service template for AWS will provision a public reachable Kubernetes cluster (API endpoint public) plus some network resources so that Kubernetes can run properly. Which resources will be created? ___Network Stack___: VPC X amount of subnets (subnets will all be public) Internet Gateway Route tables to route 0.0.0.0/0 traffic into the subnets Security Groups for Cluster Node communication ___Kubernetes Infrastructure___: EKS cluster with public API endpoint * X amount of worker nodes with configurable compute size By default the worker nodes have access to the AWS Certificate Manager (ACM) to pull TLS certificates. The EKS cluster is also allowed to generate Route53 ingress to the cluster (setup ingress e.g.: using helm charts).
Inputs (21)
| Name | Type | Description | Default |
|---|---|---|---|
| security_group_node_name | string | Name tag of the security group for the node to worker communication | "terraform-eks-node-sg" |
| cluster_name | string | EKS Cluster name | "eks-cluster" |
| eks_auto_scaling_group_name | string | EKS Worker node auto scaling group name | "terraform-eks" |
| eks_worker_desired_capacity | number | EKS Worker nodes desired count | 3 |
| subnet_netbit | number | Netbit number of subnets to provision (e.g.: X.X.X.X/24 <-- subnet_netbit) | 24 |
| security_group_cluster_name | string | Name tag of the security group for the cluster to worker communication | "terraform-eks-cluster-sg" |
| eks_node_group_name | string | EKS Worker node group name | "terraform-eks-ng" |
| eks_worker_min_size | number | EKS Worker nodes minimum nodes | 2 |
| eks_worker_max_size | number | EKS Worker nodes maximum nodes | 5 |
| vpc_name | string | Name tag of the VPC | "terraform-eks-cluster" |
| igw_name | string | Name tag of the internet gateway | "terraform-eks" |
| iam_eks_node_name | string | EKS Cluster IAM role name | "terraform-eks-node" |
| eks_worker_instance_type | list(string) | EKS Worker node EC2 instance type | [
"t3.large"
] |
| iam_eks_node_policy_arn | list(string) | List of Policies to attach to the EKS node role | [
"arn:aws:iam::aws:policy/AmazonEKSWo |
| region | string | AWS region to deploy into | "eu-central-1" |
| subnet_count | number | Number of subnets to provision | 2 |
| eks_cluster_log_types | list(string) | EKS Cluster enabled log types to Cloudwatch | [
"scheduler",
"controllerManager"
] |
| iam_eks_cluster_name | string | EKS Cluster IAM role name | "terraform-eks-cluster" |
| iam_eks_cluster_policy_arn | list(string) | List of Policies to attach to the EKS cluster role | [
"arn:aws:iam::aws:policy/AmazonEKSCl |
| cidr | map(number) | FQ VPC CIDR block | {
"A": 10,
"B": 120,
"C": 0,
"D" |
Outputs (2)
config_map_aws_authkubeconfigResources (11)
Topics & Tags
Details
Similar packages
Terraform module for provisioning an EKS cluster
Terraform module to provision an AWS AutoScaling Group, IAM Role, and Security G
Terraform module to provision a fully managed AWS EKS Node Group
A Terraform module to Provision AWS Elastic Kubernetes (EKS) clusters.