| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455 |
- variable "name" {
- description = "Name for the EKS cluster and related resources."
- type = string
- default = "example-eks"
- }
- variable "region" {
- description = "AWS region to deploy into."
- type = string
- default = "us-east-1"
- }
- variable "kubernetes_version" {
- description = "EKS Kubernetes version."
- type = string
- default = "1.35"
- }
- variable "node_instance_types" {
- description = "Instance types for the default managed node group."
- type = list(string)
- default = ["t3.large"]
- }
- variable "node_desired_size" {
- description = "Desired node count."
- type = number
- default = 2
- }
- variable "node_min_size" {
- description = "Minimum node count."
- type = number
- default = 2
- }
- variable "node_max_size" {
- description = "Maximum node count."
- type = number
- default = 4
- }
- variable "cluster_admin_principal_arns" {
- description = "Optional IAM principal ARNs to grant cluster-admin access."
- type = list(string)
- default = []
- }
- variable "tags" {
- description = "Tags applied to resources."
- type = map(string)
- default = {
- Example = "basic"
- }
- }
|