-
Notifications
You must be signed in to change notification settings - Fork 14
/
outputs.tf
65 lines (53 loc) · 1.91 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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
# get cluster module output
output "network_id" {
value = module.cluster.network_id
description = "Unique ID of the network."
}
output "private_ips" {
value = module.cluster.private_ips
description = "The IPv4 addresses within the private network."
}
output "control_plane_nodes" {
value = module.cluster.control_plane_nodes
description = "The control-plane node objects."
}
output "control_plane_nodes_ips" {
value = module.cluster.control_plane_nodes.*.ipv4_address
description = "The IPv4 addresses within the control-plane network."
}
output "control_plane_nodes_ids" {
value = module.cluster.control_plane_nodes.*.id
description = "The ids of the control-plane nodes."
}
output "worker_nodes" {
value = module.cluster.worker_nodes
description = "The worker node objects."
}
output "worker_nodes_ips" {
value = module.cluster.worker_nodes.*.ipv4_address
description = "The IPv4 addresses within the worker network."
}
output "worker_nodes_ids" {
value = module.cluster.worker_nodes.*.id
description = "The ids of the worker nodes."
}
output "kubeconfig" {
value = module.kubernetes.kubeconfig
description = "Kubectl config file contents for the cluster."
}
output "endpoint" {
value = module.kubernetes.endpoint
description = "The endpoint for the Kubernetes API."
}
output "certificate_authority_data" {
value = module.kubernetes.certificate_authority_data
description = "Nested attribute containing certificate-authority-data for the cluster. This is the base64 encoded certificate data required to communicate with the cluster."
}
output "client_certificate_data" {
value = module.kubernetes.client_certificate_data
description = "Client certificate to communicate with the API."
}
output "client_key_data" {
value = module.kubernetes.client_key_data
description = "Client key to communicate with the API."
}