terraform-google-modules/terraform-google-lb-internal

Add support for internal http loadbalancer

perdoorrajeshnayak opened this issue · 2 comments

TL;DR

I am trying to create a http internal loadbalancer. But it's creating a TCP internal load balancer even after passing the all the parameter. So could you please help to use this module for both http and tcp internal loadbalancer?.

Expected behavior

No response

Observed behavior

No response

Terraform Configuration

resource "google_compute_forwarding_rule" "default" {
  project               = var.project
  name                  = var.name
  region                = var.region
  network               = data.google_compute_network.network.self_link
  subnetwork            = data.google_compute_subnetwork.network.self_link
  allow_global_access   = var.global_access
  load_balancing_scheme = "INTERNAL"   /// can you make this as a varriable ?  so that we can use "INTERNAL_MANAGED"

  backend_service       = google_compute_region_backend_service.default.self_link
  ip_address            = var.ip_address
  ip_protocol           = var.ip_protocol
  ports                 = var.ports
  all_ports             = var.all_ports
  service_label         = var.service_label
  labels                = var.labels
}

Terraform Version

latest

Additional information

No response

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days