Files
infrastructure/terraform/modules/kubernetes/namespace/outputs.tf
2026-02-09 21:51:46 -08:00

18 lines
478 B
HCL

# Kubernetes Namespace Module Outputs
output "namespace_name" {
description = "Namespace name"
value = kubernetes_namespace.main.metadata[0].name
}
output "namespace_id" {
description = "Namespace UID"
value = kubernetes_namespace.main.metadata[0].uid
}
output "resource_quota_id" {
description = "Resource quota ID (if created)"
value = length(kubernetes_resource_quota.quota) > 0 ? kubernetes_resource_quota.quota[0].metadata[0].uid : null
}