Skip to content

Commit

Permalink
Merge pull request #49 from rocpoc/patch-4
Browse files Browse the repository at this point in the history
Updates for Terraform Version 4.41.0
  • Loading branch information
Dylan Peck authored Nov 1, 2022
2 parents 646ab4a + bc03609 commit a347171
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions terraform/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ module "bastion" {
resource "google_container_cluster" "primary" {
name = var.cluster_name
project = var.project
zone = var.zone
location = var.zone
network = module.network.network_self_link
subnetwork = module.network.subnet_self_link
min_master_version = data.google_container_engine_versions.on-prem.latest_master_version
Expand All @@ -72,8 +72,7 @@ resource "google_container_cluster" "primary" {
lifecycle {
ignore_changes = [ip_allocation_policy.0.services_secondary_range_name]
}

additional_zones = []


// Scopes necessary for the nodes to function correctly
node_config {
Expand Down Expand Up @@ -108,6 +107,7 @@ resource "google_container_cluster" "primary" {
// private. Nodes communicate to the master through this private IP address.
private_cluster_config {
enable_private_nodes = true
enable_private_endpoint = false
master_ipv4_cidr_block = "10.0.90.0/28"
}

Expand Down

0 comments on commit a347171

Please sign in to comment.