2017-12-05 12:48:47 +00:00
|
|
|
output "router_id" {
|
2020-04-06 09:41:46 +00:00
|
|
|
value = "%{if var.use_neutron == 1} ${var.router_id == null ? element(concat(openstack_networking_router_v2.k8s.*.id, [""]), 0) : var.router_id} %{else} %{endif}"
|
2018-08-21 11:21:25 +00:00
|
|
|
}
|
|
|
|
|
2022-05-03 15:51:56 +00:00
|
|
|
output "network_id" {
|
|
|
|
value = element(concat(openstack_networking_network_v2.k8s.*.id, [""]),0)
|
|
|
|
}
|
|
|
|
|
2018-08-21 11:21:25 +00:00
|
|
|
output "router_internal_port_id" {
|
2020-06-05 07:05:43 +00:00
|
|
|
value = element(concat(openstack_networking_router_interface_v2.k8s.*.id, [""]), 0)
|
2017-12-05 12:48:47 +00:00
|
|
|
}
|
|
|
|
|
2018-03-27 08:13:36 +00:00
|
|
|
output "subnet_id" {
|
2020-06-05 07:05:43 +00:00
|
|
|
value = element(concat(openstack_networking_subnet_v2.k8s.*.id, [""]), 0)
|
2017-12-05 12:48:47 +00:00
|
|
|
}
|