Vizzuality/landgriffon

View on GitHub
infrastructure/base/modules/aws/node_group/variable.tf

Summary

Maintainability
Test Coverage
variable "node_group_name" {
  type        = string
  description = "Name of the node group"
}

variable "cluster" {
  description = "The EKS cluster to which this node group will be attached"
}

variable "cluster_name" {
  type        = string
  description = "Name of the EKS cluster to which this node group will be attached"
}

variable "node_role_arn" {
  type        = string
  description = "Amazon Resource Name (ARN) of the IAM Role that provides permissions for the EKS Node Group"
}

variable "subnet_ids" {
  type        = list(string)
  description = "A list of public subnet ids to which the EKS cluster will be connected."
}

variable "desired_size" {
  type        = number
  default     = 1
  description = "Number of desired nodes in the group"
}

variable "min_size" {
  type        = number
  default     = 1
  description = "Minimum number of nodes in the group"
}

variable "max_size" {
  type        = number
  default     = 1
  description = "Maximum number of nodes in the group"
}

variable "labels" {
  type        = map(string)
  default     = {}
  description = "Labels to apply to nodes"
}

variable "instance_types" {
  type        = string
  description = "Name of the EC2 instance type to use"
}


variable "instance_disk_size" {
  type        = number
  default     = 50
  description = "Disk size of the EC2 instances to use"
}