Skip to content

Commit

Permalink
Corrected load balancing scheme in backend service
Browse files Browse the repository at this point in the history
Corrected load balancing scheme in backend service
  • Loading branch information
apichick committed Dec 22, 2022
1 parent ebc1104 commit 18fa8b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/net-glb/backend-service.tf
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ resource "google_compute_backend_service" "default" {
health_checks = length(each.value.health_checks) == 0 ? null : [
for k in each.value.health_checks : lookup(local.hc_ids, k, k)
]
load_balancing_scheme = "EXTERNAL"
load_balancing_scheme = var.use_classic_version ? "EXTERNAL" : "EXTERNAL_MANAGED"
port_name = (
each.value.port_name == null
? lower(each.value.protocol == null ? var.protocol : each.value.protocol)
Expand Down

0 comments on commit 18fa8b7

Please sign in to comment.