Files
foxhunt/infra/modules/kapsule/outputs.tf
2026-02-24 23:21:14 +01:00

46 lines
1.3 KiB
HCL

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 "always_on_pool_id" {
description = "ID of the always-on node pool"
value = scaleway_k8s_pool.always_on.id
}
output "ci_pool_id" {
description = "ID of the CI node pool"
value = scaleway_k8s_pool.ci.id
}
output "gpu_training_pool_id" {
description = "ID of the GPU training node pool"
value = var.enable_gpu_training_pool ? scaleway_k8s_pool.gpu_training[0].id : ""
}
output "gpu_inference_pool_id" {
description = "ID of the GPU inference node pool"
value = var.enable_gpu_inference_pool ? scaleway_k8s_pool.gpu_inference[0].id : ""
}
output "gitlab_pool_id" {
description = "ID of the GitLab node pool"
value = var.enable_gitlab_pool ? scaleway_k8s_pool.gitlab[0].id : ""
}
output "ci_build_pool_id" {
description = "ID of the CI build node pool"
value = var.enable_ci_build_pool ? scaleway_k8s_pool.ci_build[0].id : ""
}