20 lines
335 B
HCL
20 lines
335 B
HCL
output "conn_string" {
|
|
value = "redis://${local.app_slug}-redis.${var.namespace}.svc:6379"
|
|
}
|
|
|
|
output "service" {
|
|
value = "${local.app_slug}-redis.${var.namespace}.svc"
|
|
}
|
|
|
|
output "port" {
|
|
value = 6379
|
|
}
|
|
|
|
output "db_host" {
|
|
value = "${local.app_slug}-redis"
|
|
}
|
|
|
|
output "secret_name" {
|
|
value = lookup(var.password, "name", "")
|
|
}
|