2023-05-09 11:32:53 +00:00
|
|
|
variable "talos_cluster_name" {
|
|
|
|
type = string
|
|
|
|
description = "Name of the Talos cluster"
|
|
|
|
}
|
|
|
|
|
|
|
|
variable "talos_image" {
|
|
|
|
type = string
|
|
|
|
description = "Talos image to load to cluster"
|
|
|
|
}
|
|
|
|
|
|
|
|
variable "talos_config_directory" {
|
|
|
|
type = string
|
|
|
|
default = "talosconfig"
|
|
|
|
description = "Directory name in the root Terraform directory to place Talos configuration"
|
|
|
|
}
|
|
|
|
|
|
|
|
variable "digitalocean_region" {
|
|
|
|
type = string
|
|
|
|
description = "Human-readable slug of the DigitalOcean region"
|
|
|
|
}
|
|
|
|
|
|
|
|
variable "control_plane_pool" {
|
|
|
|
type = object({
|
|
|
|
count = optional(number, 1),
|
|
|
|
size = optional(string, "s-2vcpu-4gb"),
|
|
|
|
})
|
|
|
|
default = {}
|
|
|
|
}
|
|
|
|
|
|
|
|
variable "worker_pools" {
|
|
|
|
type = list(object({
|
|
|
|
name = string,
|
|
|
|
count = optional(number, 1),
|
|
|
|
size = optional(string, "s-2vcpu-4gb"),
|
|
|
|
}))
|
|
|
|
}
|
2023-05-11 01:25:27 +00:00
|
|
|
|
|
|
|
variable "vpc_id" {
|
|
|
|
type = string
|
|
|
|
default = "undefined"
|
|
|
|
}
|