This commit is contained in:
CC
2026-09-12 17:34:45 +01:00
parent cb6afe0932
commit 496870455b
7 changed files with 48 additions and 83 deletions

View File

@@ -4,6 +4,9 @@ variable "pm_api_token" { default = "terraform@pve!provider=760580c4-5c1f-462b-9
variable "storage" { default = "hlst" }
variable "bridge" { default = "vmbr0" }
variable "os_type" {
default = "alpine"
}
variable "instance_configs" {
type = list(object({
@@ -104,9 +107,16 @@ variable "vm_name" {
default = "Lab"
}
variable "service_name" {
description = "Folder name of the services"
type = string
default = "Lab"
}
variable "vm_user_sshkey" {
description = "Admin user SSH key of the VM"
type = string
default = ""
}
@@ -133,4 +143,15 @@ variable "vm_user" {
description = "Admin user of the VM"
type = string
default = "cloud"
}
variable "compose_file_content" {
description = "Rendered contents of docker-compose.yml to write to the VM"
type = string
}
variable "env_file_content" {
description = "Rendered contents of .env to write to the VM"
type = string
sensitive = true
}