summaryrefslogtreecommitdiff
path: root/variables.tf
diff options
context:
space:
mode:
Diffstat (limited to 'variables.tf')
-rw-r--r--variables.tf27
1 files changed, 27 insertions, 0 deletions
diff --git a/variables.tf b/variables.tf
new file mode 100644
index 0000000..5b7a68a
--- /dev/null
+++ b/variables.tf
@@ -0,0 +1,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
+}
+