qassandrach / terraform-google-lb-internal

Creates an internal load balancer for Compute Engine by using forwarding rules

Home Page:https://registry.terraform.io/modules/terraform-google-modules/lb-internal/google

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Internal Load Balancer Terraform Module

Modular Internal Load Balancer for GCE using forwarding rules.

Load Balancer Types

Compatibility

This module is meant for use with Terraform 0.13+ and tested using Terraform 1.0+. If you find incompatibilities using Terraform >=0.13, please open an issue. If you haven't upgraded and need a Terraform 0.12.x-compatible version of this module, the last released version intended for Terraform 0.12.x is v2.3.0.

Upgrading

The current version is 2.X. The following guides are available to assist with upgrades:

Usage

module "gce-ilb" {
  source       = "GoogleCloudPlatform/lb-internal/google"
  version      = "~> 2.0"
  region       = var.region
  name         = "group2-ilb"
  ports        = ["80"]
  health_check = var.health_check
  source_tags  = ["allow-group1"]
  target_tags  = ["allow-group2", "allow-group3"]
  backends     = [
    { group = module.mig2.instance_group, description = "", failover = false },
    { group = module.mig3.instance_group, description = "", failover = false },
  ]
}

Resources created

About

Creates an internal load balancer for Compute Engine by using forwarding rules

https://registry.terraform.io/modules/terraform-google-modules/lb-internal/google

License:Apache License 2.0


Languages

Language:HCL 77.6%Language:Ruby 12.0%Language:Makefile 10.4%