Skip to content

Commit 0229bdf

Browse files
committed
tf: Add output for worker_macs
Makes it easy to get the macs and make use of, for example look at boots logs. Signed-off-by: Manuel Mendez <[email protected]>
1 parent 93ee5bc commit 0229bdf

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

deploy/terraform/outputs.tf

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@ output "provisioner_ssh" {
66
value = format("%s.packethost.net", split("-", metal_device.tink_provisioner.id)[0])
77
}
88

9+
output "worker_macs" {
10+
value = local.worker_macs
11+
}
12+
913
output "worker_sos" {
1014
value = formatlist("%s@sos.%s.platformequinix.com", metal_device.tink_worker[*].id, metal_device.tink_worker.deployed_facility)
1115
}

0 commit comments

Comments
 (0)