diff --git a/autogen/main/cluster.tf.tmpl b/autogen/main/cluster.tf.tmpl index 5adaae2b2f..7354fe97f3 100644 --- a/autogen/main/cluster.tf.tmpl +++ b/autogen/main/cluster.tf.tmpl @@ -497,7 +497,9 @@ locals { "enable_integrity_monitoring", "local_ssd_count", "machine_type", + "max_pods_per_node", "min_cpu_platform", + "pod_range", "preemptible", "spot", "service_account", @@ -508,8 +510,9 @@ locals { } # This keepers list is based on the terraform google provider schemaNodeConfig -# resources where "ForceNew" is "true". schemaNodeConfig can be found in node_config.go at -# https://github.com/terraform-providers/terraform-provider-google/blob/master/google/node_config.go#L22 +# resources where "ForceNew" is "true". schemaNodeConfig can be found in resource_container_node_pool.go at +# https://github.com/hashicorp/terraform-provider-google/blob/main/google/resource_container_node_pool.go and node_config.go at +# https://github.com/terraform-providers/terraform-provider-google/blob/main/google/node_config.go resource "random_id" "name" { for_each = merge(local.node_pools, local.windows_node_pools) byte_length = 2 diff --git a/modules/beta-private-cluster-update-variant/cluster.tf b/modules/beta-private-cluster-update-variant/cluster.tf index a78fa3cdc9..0f9aca50ef 100644 --- a/modules/beta-private-cluster-update-variant/cluster.tf +++ b/modules/beta-private-cluster-update-variant/cluster.tf @@ -437,7 +437,9 @@ locals { "enable_integrity_monitoring", "local_ssd_count", "machine_type", + "max_pods_per_node", "min_cpu_platform", + "pod_range", "preemptible", "spot", "service_account", @@ -448,8 +450,9 @@ locals { } # This keepers list is based on the terraform google provider schemaNodeConfig -# resources where "ForceNew" is "true". schemaNodeConfig can be found in node_config.go at -# https://github.com/terraform-providers/terraform-provider-google/blob/master/google/node_config.go#L22 +# resources where "ForceNew" is "true". schemaNodeConfig can be found in resource_container_node_pool.go at +# https://github.com/hashicorp/terraform-provider-google/blob/main/google/resource_container_node_pool.go and node_config.go at +# https://github.com/terraform-providers/terraform-provider-google/blob/main/google/node_config.go resource "random_id" "name" { for_each = merge(local.node_pools, local.windows_node_pools) byte_length = 2 diff --git a/modules/beta-public-cluster-update-variant/cluster.tf b/modules/beta-public-cluster-update-variant/cluster.tf index 4b1db5aaea..23e0a18d13 100644 --- a/modules/beta-public-cluster-update-variant/cluster.tf +++ b/modules/beta-public-cluster-update-variant/cluster.tf @@ -418,7 +418,9 @@ locals { "enable_integrity_monitoring", "local_ssd_count", "machine_type", + "max_pods_per_node", "min_cpu_platform", + "pod_range", "preemptible", "spot", "service_account", @@ -429,8 +431,9 @@ locals { } # This keepers list is based on the terraform google provider schemaNodeConfig -# resources where "ForceNew" is "true". schemaNodeConfig can be found in node_config.go at -# https://github.com/terraform-providers/terraform-provider-google/blob/master/google/node_config.go#L22 +# resources where "ForceNew" is "true". schemaNodeConfig can be found in resource_container_node_pool.go at +# https://github.com/hashicorp/terraform-provider-google/blob/main/google/resource_container_node_pool.go and node_config.go at +# https://github.com/terraform-providers/terraform-provider-google/blob/main/google/node_config.go resource "random_id" "name" { for_each = merge(local.node_pools, local.windows_node_pools) byte_length = 2 diff --git a/modules/private-cluster-update-variant/cluster.tf b/modules/private-cluster-update-variant/cluster.tf index 7c4811b0f2..9579ace533 100644 --- a/modules/private-cluster-update-variant/cluster.tf +++ b/modules/private-cluster-update-variant/cluster.tf @@ -329,7 +329,9 @@ locals { "enable_integrity_monitoring", "local_ssd_count", "machine_type", + "max_pods_per_node", "min_cpu_platform", + "pod_range", "preemptible", "spot", "service_account", @@ -340,8 +342,9 @@ locals { } # This keepers list is based on the terraform google provider schemaNodeConfig -# resources where "ForceNew" is "true". schemaNodeConfig can be found in node_config.go at -# https://github.com/terraform-providers/terraform-provider-google/blob/master/google/node_config.go#L22 +# resources where "ForceNew" is "true". schemaNodeConfig can be found in resource_container_node_pool.go at +# https://github.com/hashicorp/terraform-provider-google/blob/main/google/resource_container_node_pool.go and node_config.go at +# https://github.com/terraform-providers/terraform-provider-google/blob/main/google/node_config.go resource "random_id" "name" { for_each = merge(local.node_pools, local.windows_node_pools) byte_length = 2