We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 57fe882 + 3464b21 commit 58e985eCopy full SHA for 58e985e
outputs.tf
@@ -0,0 +1,27 @@
1
+output "kubeconfig" {
2
+ value = sshcommand_command.get_kubeconfig.result
3
+}
4
+
5
+output "master_ips" {
6
+ value = concat([xenorchestra_vm.master.ipv4_addresses[0]], xenorchestra_vm.secondary[*].ipv4_addresses[0])
7
8
9
+output "node_ips" {
10
+ value = xenorchestra_vm.node[*].ipv4_addresses[0]
11
12
13
+output "master_hostnames" {
14
+ value = concat([xenorchestra_vm.master.name_description], xenorchestra_vm.secondary[*].name_description)
15
16
17
+output "node_hostnames" {
18
+ value = xenorchestra_vm.node[*].name_description
19
20
21
+output "primary_master_ip" {
22
+ value = xenorchestra_vm.master.ipv4_addresses[0]
23
24
25
+output "primary_master_hostname" {
26
+ value = xenorchestra_vm.master.name_description
27
0 commit comments