Files
foxhunt/infra/modules/kapsule/outputs.tf
jgrusewski 3e75afa160 infra: add OpenTofu modules for all Scaleway resources
- kapsule: cluster + 3 node pools (always-on, ci, gpu)
- object-storage: S3 bucket with 30-day sccache expiry
- registry: private Container Registry namespace
- secrets: JWT + DB password via Secret Manager
- block-storage: 100GB b_ssd for training data

All managed via Terragrunt with shared provider/backend.
Gitignore exception added for infra/*/secrets/ (TF code, not actual secrets).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-24 14:23:03 +01:00

31 lines
771 B
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_pool_id" {
description = "ID of the GPU node pool"
value = scaleway_k8s_pool.gpu.id
}