You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

11 lines
412 B

  1. output "router_id" {
  2. value = "%{if var.use_neutron == 1} ${var.router_id == null ? element(concat(openstack_networking_router_v2.k8s.*.id, [""]), 0) : var.router_id} %{else} %{endif}"
  3. }
  4. output "router_internal_port_id" {
  5. value = element(concat(openstack_networking_router_interface_v2.k8s.*.id, [""]), 0)
  6. }
  7. output "subnet_id" {
  8. value = element(concat(openstack_networking_subnet_v2.k8s.*.id, [""]), 0)
  9. }