Browse Source
Subnet setup order fix & Number of master nodes syntax fix (#9159 )
* Subnet setup order fix & Number of master nodes syntax fix
* Mistake fix!
* Formatting
pull/9191/head
Robin Ramquist
2 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
5 additions and
1 deletions
contrib/terraform/openstack/kubespray.tf
@ -96,6 +96,10 @@ module "compute" {
network_router_id = module . network . router_id
network_router_id = module . network . router_id
network_id = module . network . network_id
network_id = module . network . network_id
use_existing_network = var . use_existing_network
use_existing_network = var . use_existing_network
depends_on = [
module . network . subnet_id
]
}
}
output " private_subnet_id " {
output " private_subnet_id " {
@ -111,7 +115,7 @@ output "router_id" {
}
}
output " k8s_master_fips " {
output " k8s_master_fips " {
value = concat ( module . ips . k8s_master_fips , module . ips . k8s_master_no_etcd_fips )
value = var . number_of_k8s_masters + var . number_of_k8s_masters_no_etcd > 0 ? concat ( module . ips . k8s_master_fips , module . ips . k8s_master_no_etcd_fips ) : [ for key , value in module . ips . k8s_masters_fips : value . address ]
}
}
output " k8s_node_fips " {
output " k8s_node_fips " {