/terraform-aws-eks

Terraform EKS cluster module

Primary LanguageHCLGNU General Public License v3.0GPL-3.0

terraform-aws-eks

Terraform EKS cluster module

Requirements

No requirements.

Providers

Name Version
aws n/a
tls n/a

Modules

No modules.

Resources

Name Type
aws_eks_addon.aws_ebs_csi_driver resource
aws_eks_addon.coredns resource
aws_eks_addon.vpc_cni resource
aws_eks_cluster.this resource
aws_eks_identity_provider_config.oidc resource
aws_eks_node_group.this resource
aws_iam_openid_connect_provider.this resource
aws_kms_alias.this resource
aws_kms_key.this resource
aws_launch_template.this resource
aws_caller_identity.current data source
aws_iam_policy_document.this data source
aws_partition.current data source
aws_ssm_parameter.eks_ami_release_version data source
tls_certificate.this data source

Inputs

Name Description Type Default Required
addons n/a map
{
"aws_ebs_csi_driver": {
"enabled": true,
"version": "v1.14.1-eksbuild.1"
},
"coredns": {
"enabled": false,
"version": "v1.8.7-eksbuild.3"
},
"vpc_cni": {
"enabled": false,
"version": "v1.11.4-eksbuild.1"
}
}
no
client_id_list n/a list(string)
[
"sts.amazonaws.com"
]
no
cluster_name n/a string n/a yes
enabled n/a bool true no
enabled_cluster_log_types n/a list(string)
[
"api",
"audit",
"authenticator"
]
no
encryption n/a
object({
enabled = bool
owner_arns = list(string)
resources = list(string)
})
{
"enabled": false,
"owner_arns": [],
"resources": [
"secrets"
]
}
no
endpoint_private_access n/a bool true no
endpoint_public_access n/a bool false no
kubernetes_version n/a string "1.24" no
node_groups n/a
list(object({
capacity_type = string
instance_types = list(string)
name = string
node_role_arn = string
desired_size = number
max_size = number
min_size = number
max_unavailable = number
taints = list(object({
effect = string
key = string
}))
}))
[] no
oidc_client_id n/a string null no
oidc_enabled n/a bool false no
oidc_groups_claim n/a string null no
oidc_identity_provider_config_name n/a string null no
oidc_issuer_url n/a string null no
oidc_username_claim n/a string null no
role_arn n/a string n/a yes
security_group_ids n/a list(string) [] no
service_ipv4_cidr n/a string "10.96.0.0/12" no
subnet_ids n/a list(string) n/a yes

Outputs

Name Description
cluster_security_group_id n/a
endpoint n/a
iam_openid_connect_provider_arn n/a
kubeconfig_certificate_authority_data n/a
name n/a