Files
server/infra/modules/network/outputs.tf
T

10 lines
269 B
Terraform

output "id" {
value = hcloud_network.main.id
}
# Exposed so dependents can depend_on the subnet existing, not just the network -
# attaching a server to a network fails if the network has no subnet yet.
output "subnet_id" {
value = hcloud_network_subnet.main.id
}