AWS EKS
Amazon Elastic Kubernetes Service (EKS) cluster configuration and deployment.
Requirements
Name |
Version |
|---|---|
>= 1.0 |
|
>= 5.61, < 6.0.0 |
|
>= 2.10.1, < 3.0.0 |
|
>= 2.13.0 |
|
>= 3.2.1 |
|
>= 3.5.1 |
Providers
Name |
Version |
|---|---|
>= 5.61, < 6.0.0 |
|
>= 2.10.1, < 3.0.0 |
|
>= 2.13.0 |
|
>= 3.2.1 |
|
>= 3.5.1 |
Modules
Name |
Source |
Version |
|---|---|---|
terraform-aws-modules/iam/aws//modules/iam-assumable-role-with-oidc |
5.54.0 |
|
terraform-aws-modules/eks/aws |
20.36.0 |
Resources
Name |
Type |
|---|---|
resource |
|
resource |
|
resource |
|
resource |
|
resource |
|
resource |
|
resource |
|
resource |
|
resource |
|
resource |
|
resource |
|
resource |
|
resource |
|
resource |
|
resource |
|
resource |
|
resource |
|
resource |
|
resource |
|
resource |
|
resource |
|
resource |
|
resource |
|
resource |
|
resource |
|
resource |
|
resource |
|
data source |
|
data source |
|
data source |
|
data source |
|
data source |
|
data source |
|
data source |
Inputs
Name |
Description |
Type |
Default |
Required |
|---|---|---|---|---|
Name for chart |
|
|
no |
|
Version for chart |
|
|
no |
|
Path to the charts repository |
|
|
no |
|
Version for chart |
|
|
no |
|
Type of node group expander to be used in scale up. |
|
|
no |
|
Image name of the cluster autoscaler |
|
n/a |
yes |
|
Maximum time CA waits for node to be provisioned |
|
|
no |
|
Minimum number or replicas that a replica set or replication controller should have to allow their pods deletion in scale down |
|
|
no |
|
Cluster autoscaler namespace |
|
n/a |
yes |
|
Path to cluster autoscaler helm chart repository |
|
n/a |
yes |
|
How long after scale up that scale down evaluation resumes |
|
|
no |
|
How long after node deletion that scale down evaluation resumes, defaults to scan-interval |
|
n/a |
yes |
|
How long after scale down failure that scale down evaluation resumes |
|
|
no |
|
Should CA scale down the cluster |
|
|
no |
|
Maximum number of non empty nodes considered in one iteration as candidates for scale down with drain |
|
|
no |
|
How long a node should be unneeded before it is eligible for scale down |
|
|
no |
|
Node utilization level, defined as sum of requested resources divided by capacity, below which a node can be considered for scale down |
|
|
no |
|
How often cluster is reevaluated for scale up or down |
|
|
no |
|
If true cluster autoscaler will never delete nodes with pods from kube-system (except for DaemonSet or mirror pods) |
|
|
no |
|
Tag of the cluster autoscaler image |
|
n/a |
yes |
|
Cluster autoscaler helm chart version |
|
n/a |
yes |
|
Configuration block with encryption configuration for the cluster. To disable secret encryption, set this value to {} |
|
n/a |
yes |
|
Indicates whether or not the Amazon EKS private API server endpoint is enabled |
|
n/a |
yes |
|
Indicates whether or not the Amazon EKS private API server endpoint is enabled |
|
n/a |
yes |
|
List of CIDR blocks which can access the Amazon EKS public API server endpoint |
|
n/a |
yes |
|
KMS id to encrypt/decrypt the cluster’s logs |
|
n/a |
yes |
|
Logs retention in days |
|
n/a |
yes |
|
Kubernetes version to use for the EKS cluster |
|
n/a |
yes |
|
CSI external provisioner for both EFS and EBS |
object({ |
n/a |
yes |
|
CSI liveness probe for both EFS and EBS |
object({ |
n/a |
yes |
|
CSI node driver registrar for both EFS and EBS |
object({ |
n/a |
yes |
|
Container Storage Interface for EBS volume provisioning on EKS |
object({ |
n/a |
yes |
|
KMS key id to encrypt/decrypt EBS |
|
n/a |
yes |
|
Container Storage Interface for EFS volume provisioning on EKS |
object({ |
n/a |
yes |
|
List of EKS managed node groups |
|
|
no |
|
List of fargate profiles |
|
|
no |
|
Instance refresh image name |
|
n/a |
yes |
|
Instance refresh namespace |
|
n/a |
yes |
|
Path to instance refresh helm chart repository |
|
n/a |
yes |
|
Instance refresh tag |
|
n/a |
yes |
|
Instance refresh helm chart version |
|
n/a |
yes |
|
Kubeconfig file path |
|
n/a |
yes |
|
AWS EKS service name |
|
|
no |
|
Node selector for pods of EKS system |
|
|
no |
|
Profile of AWS credentials to deploy Terraform sources |
|
n/a |
yes |
|
List of self managed node groups |
|
|
no |
|
Tags for resource |
|
|
no |
|
Id of VPC |
|
n/a |
yes |
|
List of VPC pods subnet ids |
|
n/a |
yes |
|
List of VPC subnets ids |
|
n/a |
yes |
Outputs
Name |
Description |
|---|---|
ARN of EKS cluster |
|
aws eks module |
|
cluster_certificate_authority_data |
|
Endpoint for EKS control plane |
|
Cluster IAM role name |
|
EKS cluster ID |
|
EKS cluster name |
|
List of EKS managed group nodes |
|
list of the EKS managed workers IAM role names |
|
List of fargate profiles |
|
list of the fargate profile workers IAM role names |
|
EKS Identity issuer |
|
ARN of KMS used for EKS |
|
Path of kubeconfig file |
|
ID of the node shared security group |
|
List of self managed node groups |
|
list of the self managed workers IAM role names |
|
list of the workers IAM role names |