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.

21 lines
805 B

  1. # If k8s_master_fips is already defined as input, keep the same value since new FIPs have not been created.
  2. output "k8s_master_fips" {
  3. value = length(var.k8s_master_fips) > 0 ? var.k8s_master_fips : openstack_networking_floatingip_v2.k8s_master[*].address
  4. }
  5. # If k8s_master_fips is already defined as input, keep the same value since new FIPs have not been created.
  6. output "k8s_master_no_etcd_fips" {
  7. value = length(var.k8s_master_fips) > 0 ? var.k8s_master_fips : openstack_networking_floatingip_v2.k8s_master_no_etcd[*].address
  8. }
  9. output "k8s_node_fips" {
  10. value = openstack_networking_floatingip_v2.k8s_node[*].address
  11. }
  12. output "k8s_nodes_fips" {
  13. value = openstack_networking_floatingip_v2.k8s_nodes
  14. }
  15. output "bastion_fips" {
  16. value = openstack_networking_floatingip_v2.bastion[*].address
  17. }