diff --git a/modules/gke-cluster/main.tf b/modules/gke-cluster/main.tf index e21fa11..529c69c 100644 --- a/modules/gke-cluster/main.tf +++ b/modules/gke-cluster/main.tf @@ -68,7 +68,7 @@ resource "google_container_cluster" "cluster" { ip_allocation_policy { // Choose the range, but let GCP pick the IPs within the range cluster_secondary_range_name = var.cluster_secondary_range_name - services_secondary_range_name = var.services_secondary_range_name != null ? var.services_secondary_range_name : var.cluster_secondary_range_name + services_secondary_range_name = var.services_secondary_range_name } # We can optionally control access to the cluster