2024-05-22 17:24:59 +00:00
|
|
|
variable "datacenter_name" {
|
|
|
|
type = string
|
|
|
|
default = "dco"
|
|
|
|
}
|
|
|
|
|
2024-10-17 22:25:01 +00:00
|
|
|
# Cloud names in clouds.yaml file
|
|
|
|
variable "clouddco_name" {
|
|
|
|
type = string
|
|
|
|
default = "dco-matrixtest"
|
|
|
|
}
|
|
|
|
|
|
|
|
variable "cloudsto3_name" {
|
|
|
|
type = string
|
|
|
|
default = "sto3-matrixtest"
|
|
|
|
}
|
|
|
|
|
|
|
|
variable "cloudsto4_name" {
|
|
|
|
type = string
|
|
|
|
default = "sto4-matrixtest"
|
|
|
|
}
|
|
|
|
|
2024-05-22 17:24:59 +00:00
|
|
|
variable "keyname" {
|
|
|
|
type = string
|
|
|
|
default = "manderssonpub"
|
|
|
|
}
|
2024-10-15 13:38:44 +00:00
|
|
|
variable "keynameworkers" {
|
|
|
|
type = string
|
|
|
|
default = "manderssonpub3"
|
|
|
|
}
|
2024-05-22 17:24:59 +00:00
|
|
|
|
|
|
|
variable "worker_instance_count" {
|
2024-10-18 08:16:00 +00:00
|
|
|
default = "3"
|
2024-05-22 17:24:59 +00:00
|
|
|
}
|
|
|
|
variable "controller_instance_count" {
|
|
|
|
default = "3"
|
|
|
|
}
|
|
|
|
|
|
|
|
variable "controller_instance_type" {
|
|
|
|
default = "b2.c2r4"
|
|
|
|
}
|
2024-05-23 08:47:29 +00:00
|
|
|
|
2024-05-22 17:24:59 +00:00
|
|
|
variable "worker_instance_type" {
|
|
|
|
default = "b2.c4r16"
|
|
|
|
}
|
2024-05-23 08:47:29 +00:00
|
|
|
|
2024-05-22 17:24:59 +00:00
|
|
|
variable "worker_name" {
|
2024-05-23 08:47:29 +00:00
|
|
|
default = "k8sw"
|
2024-05-22 17:24:59 +00:00
|
|
|
}
|
2024-05-23 08:47:29 +00:00
|
|
|
|
2024-05-22 17:24:59 +00:00
|
|
|
variable "controller_name" {
|
2024-05-23 08:47:29 +00:00
|
|
|
default = "k8sc"
|
2024-05-22 17:24:59 +00:00
|
|
|
}
|
2024-05-23 08:47:29 +00:00
|
|
|
|
2024-05-22 17:24:59 +00:00
|
|
|
variable "dns_suffix" {
|
2024-05-23 09:59:39 +00:00
|
|
|
default = "matrix.test.sunet.se"
|
2024-05-22 17:24:59 +00:00
|
|
|
}
|
2024-05-23 11:40:02 +00:00
|
|
|
|
|
|
|
variable "cloud_name" {
|
|
|
|
default="dco-matrixtest"
|
|
|
|
}
|
2024-10-17 06:08:33 +00:00
|
|
|
|
|
|
|
variable "cloud2_name" {
|
|
|
|
default="dco-matrixtest"
|
|
|
|
}
|
|
|
|
|
|
|
|
variable "cloud3_name" {
|
|
|
|
default="dco-matrixtest"
|
|
|
|
}
|
2024-10-17 22:25:01 +00:00
|
|
|
|
|
|
|
variable "k8sports" {
|
|
|
|
default=[
|
|
|
|
{"16443" = "tcp"},
|
|
|
|
{"10250" = "tcp"},
|
|
|
|
{"10255" = "tcp"},
|
|
|
|
{"25000" = "tcp"},
|
|
|
|
{"12379" = "tcp"},
|
|
|
|
{"10257" = "tcp"},
|
|
|
|
{"10259" = "tcp"},
|
|
|
|
{"4789" = "udp"},
|
|
|
|
{"51820" = "udp"}
|
|
|
|
]
|
|
|
|
}
|