refactor: Clean up unused variables and simplify configurations across modules

This commit is contained in:
2025-04-29 19:33:33 +02:00
parent b7408fb4d8
commit 0d3f4a0a30
11 changed files with 5 additions and 67 deletions
-4
View File
@@ -1,7 +1,3 @@
locals {
persistent_folder = var.persistent_folder
websites_path = "${local.persistent_folder}/web"
primary_domain = var.primary_domain
websites = var.websites
}
-22
View File
@@ -1,23 +1 @@
variable "persistent_folder" {
description = "The path to the persistent folder"
type = string
}
variable "primary_domain" {
description = "The primary domain for the websites"
type = string
}
variable "tag" {
description = "The version of the websites to install"
type = string
default = "stable-alpine"
}
variable "websites" {
description = "A list of websites to be deployed"
type = map(object({
domain_name = string
fqdn = list(string)
}))
}