Skip to content

Commit 096dfa4

Browse files
james-dreebotmrclrchtr
authored andcommitted
feat: output networkID for use with other resources (like LBs)
1 parent 7434e9d commit 096dfa4

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

outputs.tf

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,3 +32,8 @@ output "public_ipv4_list" {
3232
description = "List of public IPv4 addresses of all control plane nodes"
3333
value = local.control_plane_public_ipv4_list
3434
}
35+
36+
output "hetzner_network_id" {
37+
description = "Network ID of the network created at cluster creation"
38+
value = hcloud_network.this.id
39+
}

0 commit comments

Comments
 (0)