summaryrefslogtreecommitdiff
path: root/variables.tf
blob: 5b7a68adb72194a12231d87af36f1162d07eb795 (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
# définition des variables

variable "nb" {
  description = "nombre de machines"
  type        = number
  default     = 2
}

variable "prenom" {
  description = "prenom stagiaire"
  type        = list(any)
  default     = ["alice", "bob"]
}

variable "template" {
  description = "template container"
  type        = string
  #default     = "local:vztmpl/debian-12-standard_12.7-1_amd64.tar.zst"
  default = "local:vztmpl/rockylinux-9-custom_amd64.tar.gz"
}

variable "prem_id" {
  description = "première vmid"
  type        = number
  default     = 104
}