Skip to content

Commit

Permalink
remove default node config machine type to avoid drifting
Browse files Browse the repository at this point in the history
  • Loading branch information
Telemaco019 committed Sep 30, 2024
1 parent 07b35d0 commit d191304
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -234,17 +234,11 @@ resource "google_container_cluster" "main" {
enabled = false
}

node_config {
# Config of the default node pool that gets deleted after provisioning the GKE cluster.
machine_type = "n1-standard-1"
}

node_locations = [
# Limit to a single location the default node pool that gets deleted after provisioning the GKE cluster.
data.google_compute_zones.available.names[0],
]


min_master_version = data.google_container_engine_versions.main.latest_master_version
deletion_protection = var.gke_delete_protection

Expand Down

0 comments on commit d191304

Please sign in to comment.