infrastructure/k8s.tjo.cloud/modules/cluster/outputs.tf
Tine cc12c5d30d
Some checks failed
/ lint (push) Failing after 2m28s
feat: wip
2024-08-04 19:50:50 +02:00

19 lines
458 B
HCL

output "name" {
value = var.cluster.name
}
output "api" {
value = merge(var.cluster.api, {
internal : merge(var.cluster.api.internal, {
endpoint : local.cluster_internal_endpoint,
}),
public : merge(var.cluster.api.public, {
endpoint : local.cluster_public_endpoint,
}),
ca : data.talos_cluster_kubeconfig.this.kubernetes_client_configuration.ca_certificate,
})
}
output "nodes" {
value = local.nodes_with_address
}