2020-10-12 06:54:47 +00:00
|
|
|
# If k8s_master_fips is already defined as input, keep the same value since new FIPs have not been created.
|
2017-12-05 12:48:47 +00:00
|
|
|
output "k8s_master_fips" {
|
2020-10-12 06:54:47 +00:00
|
|
|
value = length(var.k8s_master_fips) > 0 ? var.k8s_master_fips : openstack_networking_floatingip_v2.k8s_master[*].address
|
2017-12-05 12:48:47 +00:00
|
|
|
}
|
|
|
|
|
2022-05-03 15:51:56 +00:00
|
|
|
output "k8s_masters_fips" {
|
|
|
|
value = openstack_networking_floatingip_v2.k8s_masters
|
|
|
|
}
|
|
|
|
|
2020-10-12 06:54:47 +00:00
|
|
|
# If k8s_master_fips is already defined as input, keep the same value since new FIPs have not been created.
|
2019-04-29 05:58:20 +00:00
|
|
|
output "k8s_master_no_etcd_fips" {
|
2020-10-12 06:54:47 +00:00
|
|
|
value = length(var.k8s_master_fips) > 0 ? var.k8s_master_fips : openstack_networking_floatingip_v2.k8s_master_no_etcd[*].address
|
2019-04-29 05:58:20 +00:00
|
|
|
}
|
|
|
|
|
2017-12-05 12:48:47 +00:00
|
|
|
output "k8s_node_fips" {
|
2020-06-05 07:05:43 +00:00
|
|
|
value = openstack_networking_floatingip_v2.k8s_node[*].address
|
2017-12-05 12:48:47 +00:00
|
|
|
}
|
|
|
|
|
2020-04-16 14:52:45 +00:00
|
|
|
output "k8s_nodes_fips" {
|
2020-06-05 07:05:43 +00:00
|
|
|
value = openstack_networking_floatingip_v2.k8s_nodes
|
2020-04-16 14:52:45 +00:00
|
|
|
}
|
|
|
|
|
2017-12-05 12:48:47 +00:00
|
|
|
output "bastion_fips" {
|
2021-11-19 15:58:52 +00:00
|
|
|
value = length(var.bastion_fips) > 0 ? var.bastion_fips : openstack_networking_floatingip_v2.bastion[*].address
|
2017-12-05 12:48:47 +00:00
|
|
|
}
|