Files
code-tools/terraform/outputs.tf
2025-09-29 00:47:39 +00:00

47 lines
1.2 KiB
HCL

output "workspace_id" {
description = "Coder workspace ID"
value = local.workspace_id
}
output "workspace_name" {
description = "Coder workspace name"
value = data.coder_workspace.me.name
}
output "container_name" {
description = "Name of the workspace Docker container"
value = local.container_name
}
output "project_repository" {
description = "Repository cloned into /workspaces on first startup"
value = local.project_repo_url
}
output "postgres_url" {
description = "Internal PostgreSQL connection string"
value = local.services_enabled ? local.postgres_url : null
sensitive = true
}
output "redis_url" {
description = "Internal Redis connection string"
value = local.services_enabled ? local.redis_url : null
sensitive = true
}
output "qdrant_url" {
description = "Internal Qdrant endpoint"
value = local.services_enabled ? local.qdrant_url : null
}
output "docker_network_name" {
description = "Docker network assigned to this workspace"
value = docker_network.workspace.name
}
output "workspace_volume_name" {
description = "Docker volume used for /workspaces"
value = docker_volume.workspaces.name
}