add speedtest deployment [ci skip]

This commit is contained in:
Viktor Barzin 2026-01-13 20:34:44 +00:00
parent ecc3acbc1e
commit a1fd715e4d
No known key found for this signature in database
GPG key ID: 4056458DBDBF8863
5 changed files with 166 additions and 3 deletions

View file

@ -112,6 +112,7 @@ variable "clickhouse_postgres_password" { type = string }
variable "wealthfolio_password_hash" { type = string }
variable "aiostreams_database_connection_string" { type = string }
variable "actualbudget_credentials" { type = map(any) }
variable "speedtest_db_password" { type = string }
variable "defcon_level" {
@ -137,7 +138,7 @@ locals {
"url", "excalidraw", "travel_blog", "dashy", "send", "ytdlp", "wealthfolio", "rybbit", "stirling-pdf",
"networking-toolbox", "navidrome", "freshrss", "forgejo", "tor-proxy", "real-estate-crawler", "n8n",
"changedetection", "linkwarden", "matrix", "homepage", "meshcentral", "diun", "cyberchef", "ntfy", "ollama",
"servarr", "jsoncrack", "paperless-ngx", "frigate", "audiobookshelf", "tandoor", "ebook2audiobook", "netbox"
"servarr", "jsoncrack", "paperless-ngx", "frigate", "audiobookshelf", "tandoor", "ebook2audiobook", "netbox", "speedtest"
],
}
active_modules = distinct(flatten([
@ -1024,3 +1025,12 @@ module "kyverno" {
for_each = contains(local.active_modules, "kyverno") ? { kyverno = true } : {}
depends_on = [null_resource.core_services]
}
module "speedtest" {
source = "./speedtest"
tls_secret_name = var.tls_secret_name
tier = local.tiers.aux
for_each = contains(local.active_modules, "speedtest") ? { speedtest = true } : {}
depends_on = [null_resource.core_services]
db_password = var.speedtest_db_password
}