Skip to content

Commit 75557e9

Browse files
author
Andras Gyömrey
authored
Update cluster.tf
local.region is derived from the zone when var.region is not available (zonal cluster).
1 parent 92c4ff2 commit 75557e9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cluster.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ resource "google_container_cluster" "primary" {
4242
}
4343

4444

45-
subnetwork = "projects/${local.network_project_id}/regions/${var.region}/subnetworks/${var.subnetwork}"
45+
subnetwork = "projects/${local.network_project_id}/regions/${local.region}/subnetworks/${var.subnetwork}"
4646

4747
min_master_version = local.master_version
4848

0 commit comments

Comments
 (0)