eks

howdio/eks/aws

Terraform Module HCL AWS

Terraform module which creates EKS resources on AWS

Install
module "eks" {
source = "howdio/eks/aws"
version = "2.0.2"
}
plain text: /constructs/tfmod-howdio-eks-aws/install.txt
⭐ Source on GitHub 📦 Registry page
README

AWS EKS Terraform module Terraform module which creates EKS resources on AWS. Usage ``hcl module "eks" { source = "howdio/eks/aws" name = "cluster" default_vpc = true enable_kubectl = true enable_dashboard = true } ` Terraform version Terraform version 0.12+ or newer is required for this module to work. Kubernetes CLI Kubernetes CLI 1.10 or newer with the AWS IAM Authenticator is required for the module to work. Kubernetes Client AWS IAM Authenticator Examples basic - Create an EKS cluster with GPU capable working nodes. advanced - A more advanced Kubernetes cluster using AWS EKS with multiple instance types worker nodes. Inputs | Name | Description | Type | Default | Required | |------|-------------|:----:|:-----:|:-----:| | availability_zone_count | Number of availability zones used in t

Inputs (27)
NameTypeDescriptionDefault
namestringName to be used on all the resources as identifier. required
node_user_datastringAdditional user data used when bootstrapping the EC2 instance.""
node_bootstrap_argumentsstringAdditional arguments when bootstrapping the EKS node.""
node_disk_sizestringThe root device size for the worker nodes.20
aws_authstringGrant additional AWS users or roles the ability to interact with the EKS cluster""
workstation_cidrlistCIDR blocks from which to allow inbound traffic to the Kubernetes control plane.[]
enable_dashboardstringWhen enabled, it will install the Kubernetes Dashboard.false
key_pairstringAdds an EC2 Key Pair to the cluster nodes.""
node_ami_idstringAMI id for the node instances.""
enable_kubectlstringWhen enabled, it will merge the cluster's configuration with the one located in false
eks_versionstringKubernetes version to use for the cluster."1.14"
cluster_subnet_idslistA list of VPC subnet IDs which the cluster uses.[]
node_max_sizestringMaximum size of the worker node AutoScaling Group.2
ssh_cidrstringThe CIDR blocks from which to allow incoming ssh connections to the EKS nodes.""
node_subnet_idslistA list of VPC subnet IDs which the worker nodes are using.[]
enable_kube2iamstringWhen enabled, it will install Kube2IAM to support assigning IAM roles to Pods.false
availability_zoneslistList of availability zones in the region[]
enable_calicostringWhen enabled, it will install Calico for network policy support.false
spot_pricestringThe maximum price to use for reserving spot instances. If set, the worker nodes ""
availability_zone_countstringNumber of availability zones used in the region.2
cluster_private_accessstringIndicates whether or not the Amazon EKS private API server endpoint is enabled.false
Outputs (10)
cluster_endpoint — Endpoint of the Kubernetes Control Plane.
node_role — IAM Role which has the required policies to add the node to the cluster.
node_instance_profile_arn — IAM Instance Profile ARN which has the required policies to add the node to the cluster.
kubeconfig — Kubernetes configuration file for accessing the cluster using the Kubernete CLI.
node_instance_profile — IAM Instance Profile which has the required policies to add the node to the cluster.
cluster_name — Cluster name provided when the cluster was created.
cluster_certificate — Certificate used to authenticate to the Kubernetes Controle Plane.
node_role_arn — IAM Role ARN which has the required policies to add the node to the cluster.
cluster_security_group — Security Group between cluster and nodes.
node_security_group — Security Group to be able to access to the Kubernetes Control Plane and other nodes.
Resources (3)
aws_default_subnetaws_default_vpcaws_iam_role_policy
Details
FrameworkTerraform Module
LanguageHCL
Version2.0.2
Cloud AWS
★ Stars37
Forks35
Total downloads15.7k
Inputs27
Outputs10
Resources3
Examples2
Submodules2
LicenseMIT
Namespacehowdio
Updated