All Modules
AWSCompute
EKS
Elastic Kubernetes Service cluster with managed node groups and OIDC provider
Usage
module "eks" {
source = "github.com/fencepencil/fencepencil-aws-modules//eks"
cluster_name = "<cluster_name>"
subnet_ids = ["<value>"]
vpc_id = "<vpc_id>"
tags = var.tags
}Inputs (8)
| Name | Type | Description | Default | Required |
|---|---|---|---|---|
cluster_name | string | Name of the EKS cluster | — | yes |
cluster_version | string | Kubernetes version | 1.32 | no |
subnet_ids | list(string) | Subnet IDs for the cluster | — | yes |
vpc_id | string | ID of the VPC | — | yes |
endpoint_public_access | bool | Public API server access | true | no |
cluster_log_types | list(string) | Control plane log types to enable | ["api", "audit", "authenticator"] | no |
node_groups | any | Map of EKS managed node group definitions | single t3.medium group | no |
tags | map(string) | Tags to apply to all resources | {} | no |
Outputs (6)
| Name | Description |
|---|---|
cluster_id | The EKS cluster ID |
cluster_name | The EKS cluster name |
cluster_endpoint | API server endpoint |
oidc_provider | OIDC provider URL (for IRSA) |
oidc_provider_arn | OIDC provider ARN (for IRSA) |
node_groups | Managed node groups |