aboutsummaryrefslogtreecommitdiff
path: root/opentofu/variables.tf
blob: c777b218a14cf547a9ab4f9e39a2e75650326588 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
variable "proxmox_api_url" {
  description = "Proxmox API URL"
  type        = string
}

variable "proxmox_api_token_id" {
  type = string
}

variable "proxmox_api_token_secret" {
  type = string
}


variable "proxmox_node" {
  description = "Proxmox node to deploy the VM on"
  type        = string
}

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
}

variable "vm_username" {
  description = "Username for SSH access to the VM"
  type        = string
  default     = "mas"
}

variable "ssh_private_key_path" {
  description = "Path to the SSH private key for Ansible"
  type        = string
}

variable "ssh_public_key" {
  type      = string
  sensitive = true
}

variable "docker_ansible_playbook_path" {
  description = "Path to the Ansible playbook for Docker installation"
  type        = string
}

variable "k8s_ansible_playbook_path" {
  description = "Path to the Ansible playbook for k8s installation"
  type        = string
}

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
}