-
Notifications
You must be signed in to change notification settings - Fork 22
/
Copy pathoutputs.tf
47 lines (38 loc) · 1.15 KB
/
outputs.tf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
output "talosconfig" {
value = data.talos_client_configuration.this.talos_config
sensitive = true
}
output "kubeconfig" {
value = local.kubeconfig
sensitive = true
}
output "talos_client_configuration" {
value = data.talos_client_configuration.this
}
output "talos_machine_configurations_control_plane" {
value = data.talos_machine_configuration.control_plane
sensitive = true
}
output "talos_machine_configurations_worker" {
value = data.talos_machine_configuration.worker
sensitive = true
}
output "kubeconfig_data" {
description = "Structured kubeconfig data to supply to other providers"
value = local.kubeconfig_data
sensitive = true
}
output "public_ipv4_list" {
description = "List of public IPv4 addresses of all control plane nodes"
value = local.control_plane_public_ipv4_list
}
output "hetzner_network_id" {
description = "Network ID of the network created at cluster creation"
value = hcloud_network.this.id
}
output "talos_worker_ids" {
description = "Server IDs of the hetzner talos workers machines"
value = {
for id, server in hcloud_server.workers : id => server.id
}
}