terraform-modules/network/output.tf

19 lines
471 B
HCL

output "network_id" {
description = "Network ID"
value = stackit_network.this.network_id
}
output "network_name" {
description = "Network name"
value = stackit_network.this.name
}
output "network_interface_id" {
description = "NIC ID"
value = try(stackit_network_interface.static[0].network_interface_id, null)
}
output "static_ipv4" {
description = "IPv4 address assigned to NIC (null when not used)"
value = var.static_ipv4
}