module "vsi" { source = "terraform-ibm-modules/landing-zone-vsi/ibm" version = "3.2.4" resource_group_id = module.resource_group.resource_group_id prefix = var.prefix vpc_id = module.vpc.vpc_id subnets = module.vpc.subnet_zone_list image_id = var.vsi_image_id ssh_key_ids = [ibm_is_ssh_key.vsi-public-ssh-key.id] machine_type = var.machine_type vsi_per_subnet = var.vsi_per_subnet user_data = var.user_data enable_floating_ip = var.enable_floating_ip allow_ip_spoofing = var.allow_ip_spoofing create_security_group = var.create_security_group load_balancers = [ { name = "nlb" type = "public" profile = "network-fixed" listener_port = 3128 listener_protocol = "tcp" connection_limit = 100 idle_connection_timeout = 50 algorithm = "round_robin" protocol = "tcp" health_delay = 60 health_retries = 5 health_timeout = 30 health_type = "tcp" pool_member_port = 3128 } ] }