20 lines
333 B
HCL
20 lines
333 B
HCL
output "conn_string" {
|
|
value = "tcp://${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", "")
|
|
}
|