summaryrefslogtreecommitdiff
path: root/variables.tf
diff options
context:
space:
mode:
authorjerome <jerome@xlinfo.fr>2025-01-27 11:30:15 +0100
committerjerome <jerome@xlinfo.fr>2025-01-27 11:30:15 +0100
commit302b227e045e0898c34657476fe52f2d4cd765c9 (patch)
tree2f38463d980bb650a097fa59a3a1822eed2fedc9 /variables.tf
parent43abe743f5c20c8cb9045904d07a34250b5315eb (diff)
downloadproxmox_lxc-302b227e045e0898c34657476fe52f2d4cd765c9.tar.gz
proxmox_lxc-302b227e045e0898c34657476fe52f2d4cd765c9.zip
local_script
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
+}
+