AWS EKS Terraform Module
The eks/aws
Terraform module provides a way to install and configure:
-
An EKS cluster
-
The ArgoCD Helm module
Modules
Name | Source | Version |
---|---|---|
terraform-aws-modules/eks/aws |
15.1.0 |
|
camptocamp/efs/aws |
||
terraform-aws-modules/iam/aws//modules/iam-assumable-role-with-oidc |
4.0.0 |
|
terraform-aws-modules/iam/aws//modules/iam-assumable-role-with-oidc |
4.0.0 |
|
terraform-aws-modules/iam/aws//modules/iam-assumable-role-with-oidc |
4.0.0 |
|
terraform-aws-modules/alb/aws |
6.0.0 |
|
terraform-aws-modules/alb/aws |
5.10.0 |
Resources
Name | Type |
---|---|
resource |
|
resource |
|
resource |
|
resource |
|
resource |
|
resource |
|
resource |
|
resource |
|
resource |
|
data source |
|
data source |
|
data source |
|
data source |
|
data source |
|
data source |
|
data source |
|
data source |
|
data source |
|
data source |
|
data source |
Inputs
Name | Description | Type | Default | Required |
---|---|---|---|---|
App of apps values overrides. |
|
|
no |
|
ArgoCD Server Secert Key to avoid regenerate token on redeploy. |
|
|
no |
|
The base domain used for Ingresses. |
|
|
no |
|
List of CIDR blocks which can access the Amazon EKS public API server endpoint. |
|
|
no |
|
The name of the Kubernetes cluster to create. |
|
n/a |
yes |
|
Kubernetes version to use for the EKS cluster. |
|
|
no |
|
Domain prefix of the Cognito user pool to use (custom domain currently not supported!). |
|
n/a |
yes |
|
ID of the Cognito user pool to use. |
|
n/a |
yes |
|
Whether to create an internal NLB attached the private subnets |
|
|
no |
|
Whether to create an internet-facing NLB attached to the public subnets |
|
|
no |
|
Whether to setup a cluster autoscaler |
|
|
no |
|
Whether to provision an EFS filesystem, along with a provisioner |
|
|
no |
|
Extra AppProjects objects to deploy. |
|
|
no |
|
Extra ApplicationSets objects to deploy. |
|
|
no |
|
Extra Applications objects to deploy. |
|
|
no |
|
Additional load-balancer listeners |
|
|
no |
|
Additional load-balancer target groups |
|
|
no |
|
The admin password for Grafana. |
|
|
no |
|
Override the kubeconfig authenticator command |
|
|
no |
|
Override the kubeconfig authenticator arguments |
|
|
no |
|
Additional AWS account numbers to add to the aws-auth configmap. See examples/basic/variables.tf in the terraform-aws-eks module’s code for example format. |
|
|
no |
|
Additional IAM roles to add to the aws-auth configmap. See examples/basic/variables.tf in the terraform-aws-eks module’s code for example format. |
|
|
no |
|
Additional IAM users to add to the aws-auth configmap. See examples/basic/variables.tf in the terraform-aws-eks module’s code for example format. |
|
|
no |
|
OIDC configuration for core applications. |
|
|
no |
|
Other domains used for Ingresses requiring a DNS-01 challenge for Let’s Encrypt validation with cert-manager (e.g. wildcard certificates). |
|
|
no |
|
n/a |
|
|
no |
|
The source repo URL of ArgoCD’s app of apps. |
|
|
no |
|
A list of repositories to add to ArgoCD. |
|
|
no |
|
The source target revision of ArgoCD’s app of apps. |
|
|
no |
|
VPC where the cluster and workers will be deployed. |
|
n/a |
yes |
|
Allow to disable wait for app of apps |
|
|
no |
|
A list of maps defining worker group configurations to be defined using AWS Launch Configurations. See workers_group_defaults for valid keys. |
|
|
no |
Outputs
Name | Description |
---|---|
App of Apps values |
|
The token to set in ARGOCD_AUTH_TOKEN environment variable. |
|
The URL of the ArgoCD server. |
|
The ArgoCD admin password. |
|
n/a |
|
The name/id of the EKS cluster. Will block on cluster creation until the cluster is really ready |
|
The URL on the EKS cluster OIDC Issuer |
|
The admin password for Grafana. |
|
The content of the KUBECONFIG file. |
|
n/a |
|
n/a |
|
n/a |
|
n/a |
|
n/a |
|
default IAM role name for EKS worker groups |
|
Security group ID attached to the EKS workers. |