refactor: Clean up unused variables and simplify configurations across modules
This commit is contained in:
@@ -109,12 +109,6 @@
|
||||
"SICReplay.pt": {
|
||||
"http_proxy": "http://proxy-pt.m3uproxy.svc.cluster.local:3128"
|
||||
},
|
||||
"CNNBrasil.br": {
|
||||
"http_proxy": "http://proxy-pt.m3uproxy.svc.cluster.local:3128"
|
||||
},
|
||||
"RTPInternacional.pt": {
|
||||
"http_proxy": "http://proxy-pt.m3uproxy.svc.cluster.local:3128"
|
||||
},
|
||||
"Rádio Comercial": {
|
||||
"disable_remap": true
|
||||
},
|
||||
|
||||
@@ -4,7 +4,6 @@ locals {
|
||||
mailboxes_path = "${local.mail_path}/mailboxes"
|
||||
getmail_path = "${local.mail_path}/getmail"
|
||||
postfix_path = "${local.mail_path}/postfix"
|
||||
mail_backup_path = "${local.persistent_folder}/backup.mail"
|
||||
|
||||
getmail_jobs = flatten([
|
||||
for account in var.email_accounts : [
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
locals {
|
||||
persistent_folder = var.persistent_folder
|
||||
websites_path = "${local.persistent_folder}/web"
|
||||
primary_domain = var.primary_domain
|
||||
websites = var.websites
|
||||
}
|
||||
|
||||
|
||||
@@ -3,11 +3,6 @@ variable "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
|
||||
|
||||
@@ -1,7 +1,3 @@
|
||||
locals {
|
||||
persistent_folder = var.persistent_folder
|
||||
websites_path = "${local.persistent_folder}/web"
|
||||
primary_domain = var.primary_domain
|
||||
websites = var.websites
|
||||
}
|
||||
|
||||
|
||||
@@ -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)
|
||||
}))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user