Refacto and add modules
This commit is contained in:
@@ -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", "")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user