diff --git a/modules/2_pvs_prepare/bastion/bastion.tf b/modules/2_pvs_prepare/bastion/bastion.tf index cae2507..ceb4f29 100644 --- a/modules/2_pvs_prepare/bastion/bastion.tf +++ b/modules/2_pvs_prepare/bastion/bastion.tf @@ -283,6 +283,7 @@ locals { cidr = split("/", var.powervs_network_cidr)[0] gw = cidrhost(var.powervs_network_cidr, 1) int_ip = cidrhost(var.powervs_network_cidr, 3) + mask = split("/", var.powervs_network_cidr)[1] } resource "null_resource" "bastion_fix_up_networks" { @@ -313,17 +314,19 @@ EOF provisioner "remote-exec" { inline = [<