From 302b227e045e0898c34657476fe52f2d4cd765c9 Mon Sep 17 00:00:00 2001 From: jerome Date: Mon, 27 Jan 2025 11:30:15 +0100 Subject: local_script --- variables.tf | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 variables.tf (limited to 'variables.tf') 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 +} + -- cgit v1.2.3