diff --git a/modules/lb_external/README.md b/modules/lb_external/README.md index ad4b0a7..6efca88 100644 --- a/modules/lb_external/README.md +++ b/modules/lb_external/README.md @@ -8,6 +8,12 @@ - Can only use the nic0 (the base interface) of an instance. - Cannot serve as a next hop in a GCP custom routing table entry. +## Limitation + +### Supported Module Version with Regards to the Changed Provider's Default Values + +- Module versions `<=2.0.6` supports `terraform-provider-google` version `<6.0`. If you are using `terraform-provider-google` version `6.0` and above choose module version `2.0.7` and above. This limitation is related to the [change](https://github.com/hashicorp/terraform-provider-google/commit/267f964bd4f2d9b48e8771c2a8397de3f6655ef7) in the default value of `balancing_mode` introduced in the `terraform-provider-google` version `6.0` + ## Reference ### Requirements diff --git a/modules/lb_external/main.tf b/modules/lb_external/main.tf index 6306ad3..3e8dbdc 100755 --- a/modules/lb_external/main.tf +++ b/modules/lb_external/main.tf @@ -102,7 +102,8 @@ resource "google_compute_region_backend_service" "this" { dynamic "backend" { for_each = var.backend_instance_groups content { - group = backend.value + group = backend.value + balancing_mode = "CONNECTION" } }