aboutsummaryrefslogtreecommitdiff
path: root/opentofu/variables.tf
diff options
context:
space:
mode:
authorclyhtsuriva <aimeric@adjutor.xyz>2025-02-03 13:01:33 +0100
committerclyhtsuriva <aimeric@adjutor.xyz>2025-02-03 13:01:33 +0100
commitd26133790a82e30955aeaa0327a30616788b9aee (patch)
treebab75464255b3d92377398cdc8ec530d6f1758a4 /opentofu/variables.tf
parentcbe1116f9ea9c4b1c0e66125070d33236fe0bbc6 (diff)
opentofu: main becomes docker-server, starting ubuntu and k8s cluster template
Diffstat (limited to 'opentofu/variables.tf')
-rw-r--r--opentofu/variables.tf19
1 files changed, 18 insertions, 1 deletions
diff --git a/opentofu/variables.tf b/opentofu/variables.tf
index 426b192..bdbc17f 100644
--- a/opentofu/variables.tf
+++ b/opentofu/variables.tf
@@ -17,7 +17,12 @@ variable "proxmox_node" {
type = string
}
-variable "packer_image_name" {
+variable "debian_server_bookworm_packer_image_name" {
+ description = "Name of the Packer image to clone"
+ type = string
+}
+
+variable "ubuntu_server_noble_packer_image_name" {
description = "Name of the Packer image to clone"
type = string
}
@@ -44,3 +49,15 @@ variable "ansible_playbook_path" {
}
+variable "k8s_worker_vm_name_prefix" {
+ description = "VM name prefix"
+ default = "k8s-worker"
+ type = string
+}
+
+variable "k8s_worker_vm_count" {
+ description = "Number of servers"
+ default = 2
+ type = string
+}
+