/terraform-google-lb

Modular Regional TCP Load Balancer for GCE using target pool and forwarding rule.

Primary LanguageHCLApache License 2.0Apache-2.0

Regional TCP Load Balancer Terraform Module

Modular Regional TCP Load Balancer for GCE using target pool and forwarding rule.

Usage

module "gce-lb-fr" {
  source       = "GoogleCloudPlatform/lb/google"
  region       = "${var.region}"
  name         = "group1-lb"
  service_port = "${module.mig1.service_port}"
  target_tags  = ["${module.mig1.target_tags}"]
}

Resources created

Figure 1. diagram of terraform resources

architecture diagram