## net-lb-int * Fix error on apply of example: ``` Error creating RegionBackendService: googleapi: Error 400: Invalid value for field 'resource.backends[0].balancingMode': 'UTILIZATION'. Balancing mode must be CONNECTION for an INTERNAL backend service., invalid ``` * remove unused `balancing_mode` variable, as only one value is possible anyhow ## net-lb-ext * update in the `backends` description ## net-lb-proxy-int * update in the `backends` description ## net-lb-app-int * added validation of `balancing_mode` * fixed other validations ## net-lb-app-ext * added validation of `balancing_mode` * fixed other validations * removed validation for `locality_lb_policy` as this variable is not used in this module Closes: #1767
20 lines
290 B
HCL
20 lines
290 B
HCL
project_id = "my-project"
|
|
region = "europe-west1"
|
|
name = "ilb-test"
|
|
vpc_config = {
|
|
network = "default"
|
|
subnetwork = "default"
|
|
}
|
|
backends = [{
|
|
group = "foo"
|
|
failover = false
|
|
}]
|
|
global_access = true
|
|
|
|
forwarding_rules_config = {
|
|
"port-80" = {
|
|
ports = [80]
|
|
}
|
|
}
|
|
|