aboutsummaryrefslogtreecommitdiff
path: root/opentofu/variables.tf
diff options
context:
space:
mode:
authorclyhtsuriva <aimeric@adjutor.xyz>2025-02-02 16:05:38 +0100
committerclyhtsuriva <aimeric@adjutor.xyz>2025-02-02 16:05:38 +0100
commit93f98bb6051fa702458f6853873a4443a401ba87 (patch)
tree892714042cebda841112956d7373fcd0896dd890 /opentofu/variables.tf
parented15ef307a5977816328b516a15436050232d99a (diff)
opentofu: definition of a docker ready machine
First iteration, will be optimized later
Diffstat (limited to 'opentofu/variables.tf')
-rw-r--r--opentofu/variables.tf46
1 files changed, 46 insertions, 0 deletions
diff --git a/opentofu/variables.tf b/opentofu/variables.tf
new file mode 100644
index 0000000..426b192
--- /dev/null
+++ b/opentofu/variables.tf
@@ -0,0 +1,46 @@
+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 "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 "ansible_playbook_path" {
+ description = "Path to the Ansible playbook for Docker installation"
+ type = string
+}
+
+