# Terraform Variables Reference Below you can find a full description of all variables in the RI Platform Terraform configuration (`main.tf`). ``` variable "create_managed_helm_release" { description = </sub/path where is the name of the S3 bucket and `sub/path` comprises some path within the bucket. You can also use wildcards '?' or '*' within the arn specification (e.g. 'arn:aws:s3:::datasets/*'). EOT type = list(string) } variable "install_cluster_autoscaler" { description = "Whether or not to install the cluster autoscaler." type = bool default = false } variable "cluster_name" { description = "Name of eks cluster." type = string default = "" } variable "install_external_dns" { description = "Whether or not to install external dns." type = bool default = false } variable "install_datadog" { description = "Whether or not to install the Datadog Agent." type = bool default = false } variable "create_eks" { description = "Whether or not to create a new EKS cluster to run RIME on. If false, cluster_name must be the name of an already provisioned cluster." type = bool default = true } variable "vpc_id" { description = "VPC where the cluster and workers will be deployed. Must be specified if create_eks is true." type = string default = "" } variable "private_subnet_ids" { description = "A list of private subnet ids to place the EKS cluster and workers within. Must be specified if create_eks is true" type = list(string) default = [] } variable "public_subnet_ids" { description = "A list of public subnet ids for EKS cluster load balancers to work in" type = list(string) default = [] } variable "cluster_version" { description = "Kubernetes version to use for the EKS cluster." type = string default = "1.20" } variable "node_ssh_key" { description = "EC2 ssh key to be added to nodes for ssh access. This is only applicable if create_eks is true" type = string default = "" } variable "tags" { description = "A map of tags to add to all resources. Tags added to launch configuration or templates override these values for ASG Tags only." type = map(string) default = {} } variable "server_worker_group_min_size" { description = "Minimum size of the server worker group. Must be >= 1" type = number default = 4 validation { condition = var.server_worker_group_min_size >= 1 error_message = "Server worker group min size must be greater than or equal to 1." } } variable "server_worker_group_max_size" { description = "Maximum size of the server worker group. Must be >= min size. For best performance we recommend >= 10 nodes as the max size." type = number default = 10 } variable "model_testing_worker_group_instance_types" { description = "Instance types for the model testing worker group." type = list(string) default = ["t2.xlarge", "t3.xlarge", "t3a.xlarge"] } variable "model_testing_worker_group_min_size" { description = "Minimum size of the model testing worker group. Must be >= 1" type = number default = 0 validation { condition = var.model_testing_worker_group_min_size >= 0 error_message = "Model testing worker group min size must be greater than or equal to 0." } } variable "model_testing_worker_group_max_size" { description = "Maximum size of the model testing worker group. Must be >= min size. For best performance we recommend >= 10 nodes as the max size." type = number default = 10 } variable "model_testing_worker_group_use_spot" { description = "Use spot instances for model testing worker group." type = bool default = true } variable "map_roles" { description = "Additional IAM roles to add to the aws-auth configmap. You will need to set this for any role you want to allow access to eks" type = list(object({ rolearn = string username = string groups = list(string) })) default = [] } variable "map_users" { description = "Additional IAM users to add to the aws-auth configmap. You will need to set this for any role you want to allow access to eks." type = list(object({ userarn = string username = string groups = list(string) })) default = [] } variable "mongo_db_size" { description = "MongoDb volume size" type = string default = "32Gi" } variable "install_velero" { description = "Whether or not to install Velero." type = bool default = false } variable "velero_backup_schedule" { description = "Backup schedule time in cron time string format." type = string default = "0 2 * * *" } variable "velero_backup_ttl" { description = "A suffix to name the IAM policy and role with." type = string default = "336h" } variable "allow_ecr_pull" { description = "Allow nodes to pull from ecr" type = bool default = true } variable "lb_security_group_rules" { description = <