Terraform module to deploy AWS EKS
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Julien Cabillot ce15d476c9
chore: bump pre-commit hooks to fix jenkins test
1 week ago
examples/standard chore: Update example outputs to show all outputs 4 months ago
.gitignore fix pre-commit modifications 1 year ago
.pre-commit-config.yaml chore: bump pre-commit hooks to fix jenkins test 1 week ago
CHANGELOG.md chore: bump pre-commit hooks to fix jenkins test 1 week ago
Jenkinsfile fix pre-commit modifications 1 year ago
LICENSE Initial commit 1 year ago
README.md fix: Add calculation of certificate thumbprint 3 months ago
data.tf fix: Add calculation of certificate thumbprint 3 months ago
main.tf fix: Add calculation of certificate thumbprint 3 months ago
outputs.tf feat: Add resources to allow for kubernetes and aws iam integration 4 months ago
variables.tf feat: Add resources to allow for kubernetes and aws iam integration 4 months ago
versions.tf fix: Add calculation of certificate thumbprint 3 months ago

README.md

terraform-module-aws-eks

Terraform module to deploy EKS cluster on AWS. Optionally it can deploy ALB ingress controller.

Requirements

Name Version
terraform >= 0.12
aws ~> 2.31
tls ~> 2.0

Providers

Name Version
aws ~> 2.31
kubernetes n/a
tls ~> 2.0

Inputs

Name Description Type Default Required
allowed_cidrs List of CIDRs that will be allowed to talk to the EKS cluster. list(string) [] no
allowed_security_group_count exact length of the allowed_security_group_ids variable. number n/a yes
allowed_security_group_ids List of security group ID's that will be allowed to talk to the EKS cluster. list(string) [] no
aws_auth_configmap_data List of maps that represent the aws-auth data needed for EKS to work properly. https://docs.aws.amazon.com/eks/latest/userguide/launch-workers.html for more information. list [] no
eks_tags Map of tags that will be applied on the EKS cluster. map {} no
enabled Whether or not to enable this module. bool true no
iam_policy_name Name of the additionnal IAM policy for the EKS cluster. string "eks-cluster" no
iam_role_name Name of the IAM role for the EKS cluster. string "eks-cluster" no
iam_role_tags Map of tags that will be applied on the IAM role. map {} no
kubernetes_aws_iam_integration_enabled Whether or not to enable the IAM Integration in kubernetes (this will allow you to map AWS IAM roles to specific Kubernetes service acounts) bool true no
kubernetes_version Version that will be used for the EKS cluster. string null no
name Name of the EKS cluster. string "eks-cluster" no
private_access Whether or not to enable private access to the EKS endpoint. bool false no
public_access Whether or not to enable public access to the EKS endpoint. bool true no
security_group_ids List of additionnal security group ID's to set on the AKS cluster. list [] no
security_group_name Name of the security group for the EKS cluster. string "eks-cluster" no
security_group_tags Map of tags that will be applied on the security group. map {} no
subnet_ids List of subnet ID's where the EKS master will be available from. list(string) n/a yes
tags Map of tags that will be applied on all resources. map {} no

Outputs

Name Description
arn ARN of the EKS cluster that is created.
certificate_authority Base 64 encoded certificate authority of the EKS cluster that is created.
endpoint Endpoint of the EKS cluster that is created.
iam_openid_connect_provider_arn n/a
iam_openid_connect_provider_url n/a
iam_role_arn ARN of the IAM role that is created.
iam_role_id ID of the IAM role that is created.
iam_role_name Name of the IAM role that is created.
iam_role_unique_id Uniauq ID of the IAM role that is created.
id ID of the EKS cluster that is created.
kubernates_config_map_name Config map for EKS workers
kubernetes_version Version of the EKS cluster.
name Name of the EKS cluster that is created.
security_group_arn ARN of the security group that is created.
security_group_id ID of the security group that is created.
security_group_name Name of the security group that is created.