Files
OpenTofuPlayground/modules/app-openresty-pg-redis/outputs.tf
Lutz Finsterle 3bf5960302
Some checks failed
Deploy / Update K8s Apps / Detect changed K8s tfvars (push) Failing after 13s
Deploy / Update Apps / Detect changed tfvars files (push) Failing after 13s
Test / Static Analysis (push) Failing after 11s
Test / Unit Tests — Docker Stack (push) Has been skipped
Test / Unit Tests — K8s Stack (push) Has been skipped
Deploy / Update K8s Apps / Deploy ${{ matrix.tfvars }} (push) Has been skipped
Deploy / Update K8s Apps / Destroy ${{ matrix.tfvars }} (push) Has been skipped
Deploy / Update Apps / Deploy ${{ matrix.tfvars }} (push) Has been skipped
Deploy / Update Apps / Destroy ${{ matrix.tfvars }} (push) Has been skipped
Test / Integration Test — K8s (k3d) (push) Has been skipped
Initial Commit
2026-03-06 19:17:15 +01:00

35 lines
1.1 KiB
HCL

output "openresty_container_name" {
description = "Name of the OpenResty container on the remote host."
value = docker_container.openresty.name
}
output "openresty_external_port" {
description = "External port OpenResty is reachable on."
value = var.openresty_external_port
}
output "postgres_container_name" {
description = "Name of the PostgreSQL container (reachable within the app network)."
value = docker_container.postgres.name
}
output "redis_container_name" {
description = "Name of the Redis container (reachable within the app network)."
value = docker_container.redis.name
}
output "network_name" {
description = "Name of the Docker bridge network shared by all app containers."
value = docker_network.app.name
}
output "postgres_volume_name" {
description = "Name of the PostgreSQL data volume. Empty string in dev (ephemeral) mode."
value = local.persistent ? docker_volume.postgres[0].name : ""
}
output "redis_volume_name" {
description = "Name of the Redis data volume. Empty string in dev (ephemeral) mode."
value = local.persistent ? docker_volume.redis[0].name : ""
}