README
Requirements
| Name | Version |
|---|---|
| terraform | >= 1.9.0 |
| aws | >= 5.62.0, < 6.0.0 |
| kubectl | ~> 1.19.0 |
| kubernetes | ~> 2.24.0 |
Providers
| Name | Version |
|---|---|
| aws | 5.100.0 |
| kubectl | 1.19.0 |
| kubernetes | 2.24.0 |
Modules
Resources
Inputs
| Name | Description | Type | Default | Required |
|---|---|---|---|---|
| AWS_ACCESS_KEY_ID | AWS access key associated with an IAM account | string | "" | no |
| AWS_PROFILE | AWS Profile that resources are created in | string | "default" | no |
| AWS_REGION | Target AWS region | string | "eu-west-2" | no |
| AWS_SECRET_ACCESS_KEY | AWS secret key associated with the access key | string | "" | no |
| AWS_SESSION_TOKEN | Session token for temporary security credentials from AWS STS | string | "" | no |
| common_tags | Common tags associated to resources created | map(string) | { "Environment": "dev", "Project": "radar-base" } | no |
| create_dmz_node_group | Whether or not to create a DMZ node group with taints | bool | false | no |
| default_storage_class | Default storage class used for describing the EBS usage | string | "radar-base-ebs-sc-gp3" | no |
| dmz_node_size | Node size of the DMZ node group | map(number) | { "desired": 1, "max": 2, "min": 0 } | no |
| ecr_repository_names | Default prefixes for ECR repositories if used for hosting the images | list(string) | [ "radar-base-ecr-public", "radar-base-k8s", "radar-base-quay", "radar-base-docker-hub", "radar-base-ghcr" ] | no |
| eks_admins_group_users | EKS admin IAM user group | list(string) | [] | no |
| eks_admins_mfa_required | Whether or not MFA is required for EKS admin IAM users | bool | false | no |
| eks_cluster_name | EKS cluster name | string | n/a | yes |
| eks_kubernetes_version | Amazon EKS Kubernetes version | string | "1.35" | no |
| instance_capacity_type | Capacity type used by EKS managed node groups | string | "SPOT" | no |
| instance_types | List of instance types used by EKS managed node groups | list(any) | [ "m5.large", "m5d.large", "m5a.large", "m5ad.large", "m4.large" ] | no |
| vpc_cidr | VPC CIDR | string | "10.0.0.0/16" | no |
| vpc_private_subnet_cidr | List of private subnet configurations | list(any) | [ "10.0.0.0/19", "10.0.32.0/19", "10.0.64.0/19" ] | no |
| vpc_public_subnet_cidr | List of public subnet configurations | list(any) | [ "10.0.96.0/19", "10.0.128.0/19", "10.0.160.0/19" ] | no |
| worker_node_size | Node size of the worker node group | map(number) | { "desired": 2, "max": 10, "min": 0 } | no |