diff --git a/modules/private-cluster/cluster.tf b/modules/private-cluster/cluster.tf index 31d5e5bfcb..dd40fd44aa 100644 --- a/modules/private-cluster/cluster.tf +++ b/modules/private-cluster/cluster.tf @@ -204,7 +204,8 @@ resource "google_container_cluster" "primary" { resource "google_container_node_pool" "pools" { provider = google for_each = local.node_pools - name = each.key + # name = each.key + name_prefix = "${each.key}-art-" project = var.project_id location = local.location // use node_locations if provided, defaults to cluster level node_locations if not specified @@ -332,7 +333,7 @@ resource "google_container_node_pool" "pools" { lifecycle { ignore_changes = [initial_node_count] - + create_before_destroy = true } timeouts {