Skip to content

Commit

Permalink
Add services_secondary_range_name to not be the same as cluster_secon…
Browse files Browse the repository at this point in the history
…dary_range_name
  • Loading branch information
brianpham committed Mar 30, 2021
1 parent 76c5119 commit f2bd4ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/gke-cluster/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f2bd4ce

Please sign in to comment.