fix: code quality improvements
Some checks failed
Gitea Actions Demo / Terraform Plan (push) Failing after 15s

- Remove duplicate variables (alpaca_count, llama_count)
- Remove unused variables (vm_name, disk_type)
- Fix outputs to use correct variable names
- Fix cloud-init template to not overwrite source file
- Fix hardcoded hostname in cloud-init template
- Fix typo in SSH_KEY_PUBLIC description
This commit is contained in:
2026-02-27 01:25:25 +00:00
parent 84e45b4c61
commit 79b535bb59
5 changed files with 7 additions and 33 deletions

View File

@@ -10,10 +10,6 @@ variable "clone_template" {
type = string
}
variable "vm_name" {
type = string
}
variable "cores" {
type = number
}
@@ -34,10 +30,6 @@ variable "bridge" {
type = string
}
variable "disk_type" {
type = string
}
variable "storage" {
type = string
}
@@ -50,18 +42,6 @@ variable "pm_user" {
type = string
}
variable "alpaca_count" {
type = number
default = 1
description = "How many Alpaca VMs to create"
}
variable "llama_count" {
type = number
default = 1
description = "How many Llama VMs to create"
}
variable "alpaca_vm_count" {
type = number
default = 1
@@ -81,5 +61,5 @@ variable "TS_AUTHKEY" {
variable "SSH_KEY_PUBLIC" {
type = string
description = "My Public SSH key fo ssh auth list"
description = "My Public SSH key for ssh auth list"
}