103 lines
2.5 KiB
HCL
103 lines
2.5 KiB
HCL
# Variables for rancher common module
|
|
|
|
# Required
|
|
variable "node_public_ip" {
|
|
type = string
|
|
description = "Public IP of compute node for Rancher cluster"
|
|
}
|
|
|
|
variable "node_internal_ip" {
|
|
type = string
|
|
description = "Internal IP of compute node for Rancher cluster"
|
|
default = ""
|
|
}
|
|
|
|
# Required
|
|
variable "node_username" {
|
|
type = string
|
|
description = "Username used for SSH access to the Rancher server cluster node"
|
|
}
|
|
|
|
# Required
|
|
variable "ssh_private_key_pem" {
|
|
type = string
|
|
description = "Private key used for SSH access to the Rancher server cluster node"
|
|
}
|
|
|
|
variable "rancher_kubernetes_version" {
|
|
type = string
|
|
description = "Kubernetes version to use for Rancher server cluster"
|
|
default = "v1.24.14+k3s1"
|
|
}
|
|
|
|
variable "cert_manager_version" {
|
|
type = string
|
|
description = "Version of cert-manager to install alongside Rancher (format: 0.0.0)"
|
|
default = "1.11.0"
|
|
}
|
|
|
|
variable "rancher_version" {
|
|
type = string
|
|
description = "Rancher server version (format v0.0.0)"
|
|
default = "2.7.9"
|
|
}
|
|
|
|
# Required
|
|
variable "server_dns" {
|
|
type = string
|
|
description = "DNS host name of the server"
|
|
}
|
|
|
|
# Required
|
|
variable "admin_password" {
|
|
type = string
|
|
description = "Admin password to use for Rancher server bootstrap, min. 12 characters"
|
|
}
|
|
|
|
# variable "workload_kubernetes_version" {
|
|
# type = string
|
|
# description = "Kubernetes version to use for managed workload cluster"
|
|
# default = "v1.24.14+rke2r1"
|
|
# }
|
|
|
|
# Required
|
|
# variable "workload_cluster_name" {
|
|
# type = string
|
|
# description = "Name for created custom workload cluster"
|
|
# }
|
|
|
|
variable "rancher_helm_repository" {
|
|
type = string
|
|
description = "The helm repository, where the Rancher helm chart is installed from"
|
|
default = "https://releases.rancher.com/server-charts/latest"
|
|
}
|
|
|
|
variable "cert_manager_email" {
|
|
type = string
|
|
description = "Email address to use for cert-manager"
|
|
default = "engineering+bouwroute@fourlights.nl"
|
|
}
|
|
# Required
|
|
variable "aws_access_key_id" {
|
|
description = "AWS Access Key ID for Vault KMS access"
|
|
type = string
|
|
}
|
|
|
|
# Required
|
|
variable "aws_secret_access_key" {
|
|
description = "AWS Secret Access Key for Vault KMS access"
|
|
type = string
|
|
}
|
|
|
|
# Required
|
|
variable "aws_kms_key_id" {
|
|
description = "AWS KMS Key ID for Vault KMS access"
|
|
type = string
|
|
}
|
|
|
|
# Required
|
|
variable "aws_region" {
|
|
description = "AWS KMS Region for Vault KMS access"
|
|
type = string
|
|
}
|