aboutsummaryrefslogtreecommitdiff
path: root/opentofu/variables.tf
diff options
context:
space:
mode:
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
+}
+
+