output "cluster_id" {
  description = "ID of the Kapsule cluster"
  value       = scaleway_k8s_cluster.foxhunt.id
}

output "kubeconfig" {
  description = "Kubeconfig file content for the cluster"
  value       = scaleway_k8s_cluster.foxhunt.kubeconfig[0].config_file
  sensitive   = true
}

output "apiserver_url" {
  description = "URL of the Kubernetes API server"
  value       = scaleway_k8s_cluster.foxhunt.apiserver_url
}

output "platform_pool_id" {
  description = "ID of the platform node pool"
  value       = scaleway_k8s_pool.platform.id
}

output "ci_compile_cpu_pool_id" {
  description = "ID of the CPU compile node pool"
  value       = var.enable_ci_compile_cpu_pool ? scaleway_k8s_pool.ci_compile_cpu[0].id : ""
}

output "ci_training_l40s_pool_id" {
  description = "ID of the L40S training node pool"
  value       = var.enable_ci_training_l40s_pool ? scaleway_k8s_pool.ci_training_l40s[0].id : ""
}

output "ci_training_h100_pool_id" {
  description = "ID of the H100 training node pool"
  value       = var.enable_ci_training_h100_pool ? scaleway_k8s_pool.ci_training_h100[0].id : ""
}

output "private_network_id" {
  description = "ID of the VPC private network the cluster is attached to"
  value       = scaleway_vpc_private_network.foxhunt.id
}
