matrix-ops/IaC-test/vars.tf

111 lines
1.6 KiB
Terraform
Raw Permalink Normal View History

2024-05-22 17:24:59 +00:00
variable "datacenter_name" {
type = string
default = "dco"
}
variable "datacenters" {
type = list(string)
default = [ "dco", "sto3", "sto4" ]
}
# 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" {
default = "0"
2024-05-22 17:24:59 +00:00
}
# Replicas per datacenter
variable "workerdcreplicas" {
default = "2"
}
# Replicas per datacenter
variable "controllerdcreplicas" {
default = "1"
}
2024-05-22 17:24:59 +00:00
variable "controller_instance_count" {
default = "1"
2024-05-22 17:24:59 +00:00
}
variable "controller_instance_type" {
default = "b2.c2r4"
}
2024-05-22 17:24:59 +00:00
variable "worker_instance_type" {
default = "b2.c4r16"
}
2024-05-22 17:24:59 +00:00
variable "worker_name" {
default = "k8sw"
2024-05-22 17:24:59 +00:00
}
2024-05-22 17:24:59 +00:00
variable "controller_name" {
default = "k8sc"
2024-05-22 17:24:59 +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
}
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"
}
variable "k8sports" {
default=[
{"16443" = "tcp"},
{"10250" = "tcp"},
{"10255" = "tcp"},
{"25000" = "tcp"},
{"12379" = "tcp"},
{"10257" = "tcp"},
{"10259" = "tcp"},
2024-10-24 10:53:00 +00:00
{"19001" = "tcp"},
{"4789" = "udp"},
{"51820" = "udp"}
]
}
2024-10-18 15:02:29 +00:00
variable jumphostv4-ips {
type = list(string)
default = []
}
variable jumphostv6-ips {
type = list(string)
default = []
}