Files
foxhunt/infra/modules/kapsule/outputs.tf
jgrusewski e9d6c7825d feat(infra): sync Terraform GPU pools with actual SCW state
Rename ci-training → ci-training-l40s, add H100/H100x2/H100-SXM/H100-SXM-8
pool resources (all autoscaling 0→1). Remove dev pool (DevPod on platform).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-05 11:37:31 +01:00

69 lines
2.2 KiB
HCL
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
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 "foxhunt_pool_id" {
description = "ID of the foxhunt app services node pool"
value = scaleway_k8s_pool.foxhunt.id
}
output "platform_pool_id" {
description = "ID of the platform infrastructure node pool"
value = var.enable_platform_pool ? scaleway_k8s_pool.platform[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_compile_cpu_pool_id" {
description = "ID of the CPU compile node pool (POP2-HC)"
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 "ci_training_h100x2_pool_id" {
description = "ID of the H100x2 training node pool"
value = var.enable_ci_training_h100x2_pool ? scaleway_k8s_pool.ci_training_h100x2[0].id : ""
}
output "ci_training_h100_sxm_pool_id" {
description = "ID of the H100-SXM training node pool"
value = var.enable_ci_training_h100_sxm_pool ? scaleway_k8s_pool.ci_training_h100_sxm[0].id : ""
}
output "ci_training_h100_sxm8_pool_id" {
description = "ID of the H100-SXM-8 training node pool (8× 80GB)"
value = var.enable_ci_training_h100_sxm8_pool ? scaleway_k8s_pool.ci_training_h100_sxm8[0].id : ""
}
# Dev pool removed — DevPod runs on platform pool
output "private_network_id" {
description = "ID of the VPC private network the cluster is attached to"
value = scaleway_vpc_private_network.foxhunt.id
}