Merge pull request #1234 from GoogleCloudPlatform/bruzz/fix-net-ilb-conn-track
Fixed connection tracking configuration on LB backend in net-ilb module
This commit is contained in:
commit
b54951f596
|
@ -80,11 +80,7 @@ resource "google_compute_region_backend_service" "default" {
|
|||
: null
|
||||
)
|
||||
idle_timeout_sec = local.bs_conntrack.idle_timeout_sec
|
||||
tracking_mode = (
|
||||
local.bs_conntrack.track_per_session != null
|
||||
? local.bs_conntrack.track_per_session
|
||||
: null
|
||||
)
|
||||
tracking_mode = try(local.bs_conntrack.track_per_session ? "PER_SESSION" : "PER_CONNECTION", null)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue