From 93f98bb6051fa702458f6853873a4443a401ba87 Mon Sep 17 00:00:00 2001 From: clyhtsuriva Date: Sun, 2 Feb 2025 16:05:38 +0100 Subject: opentofu: definition of a docker ready machine First iteration, will be optimized later --- opentofu/variables.tf | 46 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 opentofu/variables.tf (limited to 'opentofu/variables.tf') 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 +} + + -- cgit v1.2.3