This repository was archived by the owner on Oct 20, 2025. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -63,7 +63,7 @@ module "bastion" {
6363resource "google_container_cluster" "primary" {
6464 name = var. cluster_name
6565 project = var. project
66- zone = var. zone
66+ location = var. zone
6767 network = module. network . network_self_link
6868 subnetwork = module. network . subnet_self_link
6969 min_master_version = data. google_container_engine_versions . on-prem . latest_master_version
@@ -72,8 +72,7 @@ resource "google_container_cluster" "primary" {
7272 lifecycle {
7373 ignore_changes = [ip_allocation_policy . 0 . services_secondary_range_name ]
7474 }
75-
76- additional_zones = []
75+
7776
7877 // Scopes necessary for the nodes to function correctly
7978 node_config {
@@ -108,6 +107,7 @@ resource "google_container_cluster" "primary" {
108107 // private. Nodes communicate to the master through this private IP address.
109108 private_cluster_config {
110109 enable_private_nodes = true
110+ enable_private_endpoint = false
111111 master_ipv4_cidr_block = " 10.0.90.0/28"
112112 }
113113
You can’t perform that action at this time.
0 commit comments