c12s-kubespray/contrib/terraform/hetzner/modules/kubernetes-cluster-flatcar/variables.tf

61 lines
826 B
Terraform
Raw Normal View History

2022-09-18 18:40:32 +00:00
variable "zone" {
type = string
default = "fsn1"
}
variable "prefix" {
default = "k8s"
}
2022-09-21 12:56:25 +00:00
variable "user_flatcar" {
2022-09-21 12:25:51 +00:00
type = string
default = "core"
}
2022-09-18 18:40:32 +00:00
variable "machines" {
type = map(object({
node_type = string
size = string
image = string
}))
}
2022-09-21 12:25:51 +00:00
2022-09-18 18:40:32 +00:00
variable "ssh_public_keys" {
type = list(string)
}
2022-09-21 13:05:51 +00:00
variable "ssh_private_key_path" {
2022-09-18 21:48:23 +00:00
type = string
default = "~/.ssh/id_rsa"
}
2022-09-18 18:40:32 +00:00
variable "ssh_whitelist" {
type = list(string)
}
variable "api_server_whitelist" {
type = list(string)
}
variable "nodeport_whitelist" {
type = list(string)
}
variable "ingress_whitelist" {
type = list(string)
}
variable "private_network_cidr" {
default = "10.0.0.0/16"
}
variable "private_subnet_cidr" {
default = "10.0.10.0/24"
}
variable "network_zone" {
default = "eu-central"
}