Refacto and add modules

This commit is contained in:
2024-02-06 11:03:20 +01:00
parent 159b576b24
commit bcdf666cc0
47 changed files with 661 additions and 338 deletions

View File

@@ -1,6 +1,15 @@
output "host" {
value = "${local.app_slug}-redis.${var.namespace}.svc"
}
output "url" {
output "conn_string" {
value = "redis://${local.app_slug}-redis.${var.namespace}.svc:6379"
}
output "service" {
value = "${local.app_slug}-redis.${var.namespace}.svc"
}
output "db_host" {
value = "${local.app_slug}-redis"
}
output "secret_name" {
value = lookup(var.password, "name", "")
}