Skip to content

Commit

Permalink
remove default node pool deletion (#351)
Browse files Browse the repository at this point in the history
  • Loading branch information
sdeiley authored Feb 16, 2024
2 parents 13b0913 + ed6e9e5 commit 36991be
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions a3/terraform/modules/cluster/gke/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -79,10 +79,9 @@ resource "google_container_cluster" "cluster" {
# pool defined. So we create the smallest possible default node pool and
# immediately delete it. This is a best-practice suggested in the Terraform
# documentation for the container_cluster resource.
remove_default_node_pool = true
initial_node_count = 1
min_master_version = local.gke_master_version
deletion_protection = false
initial_node_count = 1
min_master_version = local.gke_master_version
deletion_protection = false

network = module.network.network_self_links[0]
subnetwork = module.network.subnetwork_self_links[0]
Expand Down

0 comments on commit 36991be

Please sign in to comment.